25#ifndef PYRAVEPROPERTIES_H
26#define PYRAVEPROPERTIES_H
37#define PyRaveProperties_Type_NUM 0
39#define PyRaveProperties_GetNative_NUM 1
40#define PyRaveProperties_GetNative_RETURN RaveProperties_t*
41#define PyRaveProperties_GetNative_PROTO (PyRaveProperties*)
43#define PyRaveProperties_New_NUM 2
44#define PyRaveProperties_New_RETURN PyRaveProperties*
45#define PyRaveProperties_New_PROTO (RaveProperties_t*)
51#define PyRaveProperties_API_pointers 3
53#define PyRaveProperties_CAPSULE_NAME "_raveproperties._C_API"
55#ifdef PYRAVEPROPERTIES_MODULE
57extern PyTypeObject PyRaveProperties_Type;
60#define PyRaveProperties_Check(op) ((op)->ob_type == &PyRaveProperties_Type)
73static void **PyRaveProperties_API;
79#define PyRaveProperties_GetNative \
80 (*(PyRaveProperties_GetNative_RETURN (*)PyRaveProperties_GetNative_PROTO) PyRaveProperties_API[PyRaveProperties_GetNative_NUM])
89#define PyRaveProperties_New \
90 (*(PyRaveProperties_New_RETURN (*)PyRaveProperties_New_PROTO) PyRaveProperties_API[PyRaveProperties_New_NUM])
104#define PyRaveProperties_Check(op) \
105 (Py_TYPE(op) == &PyRaveProperties_Type)
107#define PyRaveProperties_Type (*(PyTypeObject*)PyRaveProperties_API[PyRaveProperties_Type_NUM])
112#define import_raveproperties() \
113 PyRaveProperties_API = (void **)PyCapsule_Import(PyRaveProperties_CAPSULE_NAME, 1);
#define PyRaveProperties_GetNative_PROTO
arguments for GetNative
Definition pyraveproperties.h:41
#define PyRaveProperties_New_RETURN
return type for New
Definition pyraveproperties.h:44
#define PyRaveProperties_GetNative_RETURN
return type for GetNative
Definition pyraveproperties.h:40
#define PyRaveProperties_GetNative
Returns a pointer to the internal area, remember to release the reference when done with the object.
Definition pyraveproperties.h:79
#define PyRaveProperties_New_PROTO
arguments for New
Definition pyraveproperties.h:45
#define PyRaveProperties_New
Creates a area registry instance.
Definition pyraveproperties.h:89
Property handling This object supports RAVE_OBJECT_CLONE.
struct _RaveProperties_t RaveProperties_t
Defines the area registry.
Definition rave_properties.h:35
A cartesian product.
Definition pyraveproperties.h:32
PyObject_HEAD RaveProperties_t * properties
the instance
Definition pyraveproperties.h:34