38#define PyFmiImage_Type_NUM 0
40#define PyFmiImage_GetNative_NUM 1
41#define PyFmiImage_GetNative_RETURN RaveFmiImage_t*
42#define PyFmiImage_GetNative_PROTO (PyFmiImage*)
44#define PyFmiImage_New_NUM 2
45#define PyFmiImage_New_RETURN PyFmiImage*
46#define PyFmiImage_New_PROTO (RaveFmiImage_t*, int, int)
48#define PyFmiImage_API_pointers 3
50#define PyFmiImage_CAPSULE_NAME "_fmiimage._C_API"
52#ifdef PYFMIIMAGE_MODULE
55extern PyTypeObject PyFmiImage_Type;
58#define PyFmiImage_Check(op) ((op)->ob_type == &PyFmiImage_Type)
68static void **PyFmiImage_API;
74#define PyFmiImage_GetNative \
75 (*(PyFmiImage_GetNative_RETURN (*)PyFmiImage_GetNative_PROTO) PyFmiImage_API[PyFmiImage_GetNative_NUM])
86#define PyFmiImage_New \
87 (*(PyFmiImage_New_RETURN (*)PyFmiImage_New_PROTO) PyFmiImage_API[PyFmiImage_New_NUM])
92#define PyFmiImage_Check(op) \
93 (Py_TYPE(op) == &PyFmiImage_Type)
96#define PyFmiImage_Type (*(PyTypeObject*)PyFmiImage_API[PyFmiImage_Type_NUM])
101#define import_fmiimage() \
102 PyFmiImage_API = (void **)PyCapsule_Import(PyFmiImage_CAPSULE_NAME, 1);
#define PyFmiImage_New_PROTO
#define PyFmiImage_GetNative
#define PyFmiImage_New_RETURN
#define PyFmiImage_GetNative_PROTO
#define PyFmiImage_GetNative_RETURN
PyObject_HEAD RaveFmiImage_t * image