1 #include <Python.h> 2 3 #if PY_MAJOR_VERSION >= 3 4 #define PYCODETYPE PyObject 5 #else 6 #define PYCODETYPE PyCodeObject 7 #endif 8 9 namespace contrib 10 { 11 12 void initpy(const char *cselfpath); 13 PyObject *pyglobals(); 14 15 } /* namespace contrib */ 16