25#ifndef PYROPOGENERATOR_H
26#define PYROPOGENERATOR_H
37#define PyRopoGenerator_Type_NUM 0
39#define PyRopoGenerator_GetNative_NUM 1
40#define PyRopoGenerator_GetNative_RETURN RaveRopoGenerator_t*
41#define PyRopoGenerator_GetNative_PROTO (PyRopoGenerator*)
43#define PyRopoGenerator_New_NUM 2
44#define PyRopoGenerator_New_RETURN PyRopoGenerator*
45#define PyRopoGenerator_New_PROTO (RaveRopoGenerator_t*, RaveFmiImage_t*)
47#define PyRopoGenerator_API_pointers 3
49#define PyRopoGenerator_CAPSULE_NAME "_fmiimage._C_API"
51#ifdef PYROPOGENERATOR_MODULE
53extern PyTypeObject PyRopoGenerator_Type;
56#define PyRopoGenerator_Check(op) ((op)->ob_type == &PyRopoGenerator_Type)
66static void **PyRopoGenerator_API;
72#define PyRopoGenerator_GetNative \
73 (*(PyRopoGenerator_GetNative_RETURN (*)PyRopoGenerator_GetNative_PROTO) PyRopoGenerator_API[PyRopoGenerator_GetNative_NUM])
83#define PyRopoGenerator_New \
84 (*(PyRopoGenerator_New_RETURN (*)PyRopoGenerator_New_PROTO) PyRopoGenerator_API[PyRopoGenerator_New_NUM])
89#define PyRopoGenerator_Check(op) \
90 (Py_TYPE(op) == &PyRopoGenerator_Type)
92#define PyRopoGenerator_Type (*(PyTypeObject*)PyRopoGenerator_API[PyRopoGenerator_Type_NUM])
97#define import_ropogenerator() \
98 PyRopoGenerator_API = (void **)PyCapsule_Import(PyRopoGenerator_CAPSULE_NAME, 1);
#define PyRopoGenerator_GetNative_PROTO
#define PyRopoGenerator_GetNative
#define PyRopoGenerator_New_RETURN
#define PyRopoGenerator_New_PROTO
#define PyRopoGenerator_GetNative_RETURN
#define PyRopoGenerator_New
PyObject_HEAD RaveRopoGenerator_t * generator