37#define PyAcqva_Type_NUM 0
39#define PyAcqva_GetNative_NUM 1
40#define PyAcqva_GetNative_RETURN Acqva_t*
41#define PyAcqva_GetNative_PROTO (PyAcqva*)
43#define PyAcqva_New_NUM 2
44#define PyAcqva_New_RETURN PyAcqva*
45#define PyAcqva_New_PROTO (Acqva_t*)
47#define PyAcqva_API_pointers 3
49#define PyAcqva_CAPSULE_NAME "_pyacqva._C_API"
54extern PyTypeObject PyAcqva_Type;
57#define PyAcqva_Check(op) ((op)->ob_type == &PyAcqva_Type)
67static void **PyAcqva_API;
73#define PyAcqva_GetNative \
74 (*(PyAcqva_GetNative_RETURN (*)PyAcqva_GetNative_PROTO) PyAcqva_API[PyAcqva_GetNative_NUM])
84 (*(PyAcqva_New_RETURN (*)PyAcqva_New_PROTO) PyAcqva_API[PyAcqva_New_NUM])
89#define PyAcqva_Check(op) \
90 (Py_TYPE(op) == &PyAcqva_Type)
92#define PyAcqva_Type (*(PyTypeObject*)PyAcqva_API[PyAcqva_Type_NUM])
97#define import_pyacqva() \
98 PyAcqva_API = (void **)PyCapsule_Import(PyAcqva_CAPSULE_NAME, 1);
Provides functionality for creating composites according to the acqva method.
#define PyAcqva_GetNative_PROTO
arguments for GetNative
Definition pyacqva.h:41
#define PyAcqva_New_PROTO
arguments for New
Definition pyacqva.h:45
#define PyAcqva_GetNative_RETURN
return type for GetNative
Definition pyacqva.h:40
#define PyAcqva_New_RETURN
return type for New
Definition pyacqva.h:44
#define PyAcqva_New
Creates a new acqva instance.
Definition pyacqva.h:83
#define PyAcqva_GetNative
Returns a pointer to the internal composite, remember to release the reference when done with the obj...
Definition pyacqva.h:73
A composite generator.
Definition pyacqva.h:32
Acqva_t * acqva
the composite generator
Definition pyacqva.h:34
Represents the cartesian product.
Definition acqva.c:46