OLD | NEW |
(Empty) | |
| 1 /* ----------------------------------------------------------------------------- |
| 2 * Python API portion that goes into the runtime |
| 3 * -----------------------------------------------------------------------------
*/ |
| 4 |
| 5 #ifdef __cplusplus |
| 6 extern "C" { |
| 7 #if 0 |
| 8 } /* cc-mode */ |
| 9 #endif |
| 10 #endif |
| 11 |
| 12 /* ----------------------------------------------------------------------------- |
| 13 * Constant declarations |
| 14 * -----------------------------------------------------------------------------
*/ |
| 15 |
| 16 /* Constant Types */ |
| 17 #define SWIG_PY_POINTER 4 |
| 18 #define SWIG_PY_BINARY 5 |
| 19 |
| 20 /* Constant information structure */ |
| 21 typedef struct swig_const_info { |
| 22 int type; |
| 23 char *name; |
| 24 long lvalue; |
| 25 double dvalue; |
| 26 void *pvalue; |
| 27 swig_type_info **ptype; |
| 28 } swig_const_info; |
| 29 |
| 30 |
| 31 /* ----------------------------------------------------------------------------- |
| 32 * Wrapper of PyInstanceMethod_New() used in Python 3 |
| 33 * It is exported to the generated module, used for -fastproxy |
| 34 * -----------------------------------------------------------------------------
*/ |
| 35 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *self, PyObject *func) |
| 36 { |
| 37 #if PY_VERSION_HEX >= 0x03000000 |
| 38 return PyInstanceMethod_New(func); |
| 39 #else |
| 40 return NULL; |
| 41 #endif |
| 42 } |
| 43 |
| 44 #ifdef __cplusplus |
| 45 #if 0 |
| 46 { /* cc-mode */ |
| 47 #endif |
| 48 } |
| 49 #endif |
| 50 |
OLD | NEW |