diff options
author | Micah Anderson <micah@riseup.net> | 2014-08-11 16:33:29 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2014-08-11 16:33:29 -0400 |
commit | cce638a8adf4e045ca5505afea4bda57753c31dd (patch) | |
tree | b5e139d3359ac5b8c7b1afa8acbb1b5b6051c626 /buildutils/templates |
initial import of debian package
Diffstat (limited to 'buildutils/templates')
-rw-r--r-- | buildutils/templates/constant_enums.pxi | 3 | ||||
-rw-r--r-- | buildutils/templates/constants.pxi | 12 | ||||
-rw-r--r-- | buildutils/templates/zmq_constants.h | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/buildutils/templates/constant_enums.pxi b/buildutils/templates/constant_enums.pxi new file mode 100644 index 0000000..6039548 --- /dev/null +++ b/buildutils/templates/constant_enums.pxi @@ -0,0 +1,3 @@ +cdef extern from "zmq.h" nogil: + + {ZMQ_ENUMS} diff --git a/buildutils/templates/constants.pxi b/buildutils/templates/constants.pxi new file mode 100644 index 0000000..042a6e8 --- /dev/null +++ b/buildutils/templates/constants.pxi @@ -0,0 +1,12 @@ +#----------------------------------------------------------------------------- +# Python module level constants +#----------------------------------------------------------------------------- + +{ASSIGNMENTS} + +#----------------------------------------------------------------------------- +# Symbols to export +#----------------------------------------------------------------------------- +__all__ = [ +{ALL} +] diff --git a/buildutils/templates/zmq_constants.h b/buildutils/templates/zmq_constants.h new file mode 100644 index 0000000..6855331 --- /dev/null +++ b/buildutils/templates/zmq_constants.h @@ -0,0 +1,6 @@ +#ifndef _PYZMQ_CONSTANT_DEFS +#define _PYZMQ_CONSTANT_DEFS + +{ZMQ_IFNDEFS} + +#endif // ifndef _PYZMQ_CONSTANT_DEFS |