8000 Document the C/C++ code guidelines by mdboom · Pull Request #1606 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Document the C/C++ code guidelines #1606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2013

Conversation

mdboom
Copy link
Member
@mdboom mdboom commented Dec 17, 2012

This is a distillation of a discussion on the mailing list regarding C/C++ extensions.

@ianthomas23
Copy link
Member

+1 on this provided we are happy to take a flexible approach on keeping interface and core C/C++ code separate, as in some cases it is more sensible to keep them together, e.g. if the core code is very simple, or if the core code needs access to a reference-counted python object for longer than a single C/C++ function call.

@mdboom
Copy link
Member Author
mdboom commented Jan 4, 2013

@ianthomas23: Agreed. Exceptions can always be made when appropriate.

mdboom added a commit that referenced this pull request Jan 4, 2013
Document the C/C++ code guidelines
@mdboom mdboom merged commit 1c3836d into matplotlib:master Jan 4, 2013
@mdboom mdboom deleted the cxx_extension_policy branch August 7, 2014 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0