25#ifndef PYPDPPROCESSING_H
26#define PYPDPPROCESSING_H
37#define PyPdpProcessor_Type_NUM 0
39#define PyPdpProcessor_GetNative_NUM 1
40#define PyPdpProcessor_GetNative_RETURN PdpProcessor_t*
41#define PyPdpProcessor_GetNative_PROTO (PyPdpProcessor*)
43#define PyPdpProcessor_New_NUM 2
44#define PyPdpProcessor_New_RETURN PyPdpProcessor*
45#define PyPdpProcessor_New_PROTO (PdpProcessor_t*)
47#define PyPdpProcessor_API_pointers 3
49#define PyPdpProcessor_CAPSULE_NAME "_pdpprocessor._C_API"
51#ifdef PYPDPPROCESSOR_MODULE
53extern PyTypeObject PyPdpProcessor_Type;
56#define PyPdpProcessor_Check(op) ((op)->ob_type == &PyPdpProcessor_Type)
66static void **PyPdpProcessor_API;
72#define PyPdpProcessor_GetNative \
73 (*(PyPdpProcessor_GetNative_RETURN (*)PyPdpProcessor_GetNative_PROTO) PyPdpProcessor_API[PyPdpProcessor_GetNative_NUM])
82#define PyPdpProcessor_New \
83 (*(PyPdpProcessor_New_RETURN (*)PyPdpProcessor_New_PROTO) PyPdpProcessor_API[PyPdpProcessor_New_NUM])
88#define PyPdpProcessor_Check(op) \
89 (Py_TYPE(op) == &PyPdpProcessor_Type)
91#define PyPdpProcessor_Type (*(PyTypeObject*)PyPdpProcessor_API[PyPdpProcessor_Type_NUM])
96#define import_pdpprocessor() \
97 PyPdpProcessor_API = (void **)PyCapsule_Import(PyPdpProcessor_CAPSULE_NAME, 1);
Main routine for the pdp processing based on the algorithm from Vulpiani et al.
#define PyPdpProcessor_GetNative_RETURN
return type for GetNative
Definition pypdpprocessor.h:40
#define PyPdpProcessor_GetNative
Returns a pointer to the internal pdp processor, remember to release the reference when done with the...
Definition pypdpprocessor.h:72
#define PyPdpProcessor_GetNative_PROTO
arguments for GetNative
Definition pypdpprocessor.h:41
#define PyPdpProcessor_New_RETURN
return type for New
Definition pypdpprocessor.h:44
#define PyPdpProcessor_New_PROTO
arguments for New
Definition pypdpprocessor.h:45
#define PyPdpProcessor_New
Creates a new pdp processor instance.
Definition pypdpprocessor.h:82
The fmi image object.
Definition pypdpprocessor.h:32
PyObject_HEAD PdpProcessor_t * processor
the pdp processor
Definition pypdpprocessor.h:34
Represents one transformator.
Definition pdp_processor.c:41