Document the C/C++ code guidelines #1606

Merged
merged 1 commit into from Jan 4, 2013

2 participants

@mdboom
Matplotlib Developers member

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

@ianthomas23
Matplotlib Developers 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
Matplotlib Developers member

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

@mdboom mdboom merged commit 1c3836d into matplotlib:master Jan 4, 2013

1 check passed

Details default The Travis build passed
@mdboom mdboom deleted the mdboom:cxx_extension_policy branch Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment