diff options
Diffstat (limited to 'pymodule.h')
-rw-r--r-- | pymodule.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pymodule.h b/pymodule.h new file mode 100644 index 0000000..242eecf --- /dev/null +++ b/pymodule.h @@ -0,0 +1,11 @@ +#ifndef _PY_MODULE_H_ +#define _PY_MODULE_H_ + +#include <Python.h> + +/* This is global so that type objects and such can be easily attached */ +extern PyObject *py_module; +int pymodule_init(void); +void pymodule_deinit(void); + +#endif |