38#define PyAcrr_Type_NUM 0
40#define PyAcrr_GetNative_NUM 1
41#define PyAcrr_GetNative_RETURN RaveAcrr_t*
42#define PyAcrr_GetNative_PROTO (PyAcrr*)
44#define PyAcrr_New_NUM 2
45#define PyAcrr_New_RETURN PyAcrr*
46#define PyAcrr_New_PROTO (RaveAcrr_t*)
48#define PyAcrr_API_pointers 3
50#define PyAcrr_CAPSULE_NAME "_acrr._C_API"
54extern PyTypeObject PyAcrr_Type;
57#define PyAcrr_Check(op) ((op)->ob_type == &PyAcrr_Type)
67static void **PyAcrr_API;
73#define PyAcrr_GetNative \
74 (*(PyAcrr_GetNative_RETURN (*)PyAcrr_GetNative_PROTO) PyAcrr_API[PyAcrr_GetNative_NUM])
84 (*(PyAcrr_New_RETURN (*)PyAcrr_New_PROTO) PyAcrr_API[PyAcrr_New_NUM])
89#define PyAcrr_Check(op) \
90 (Py_TYPE(op) == &PyAcrr_Type)
92#define PyAcrr_Type (*(PyTypeObject*)PyAcrr_API[PyAcrr_Type_NUM])
97#define import_pyacrr() \
98 PyAcrr_API = (void **)PyCapsule_Import(PyAcrr_CAPSULE_NAME, 1);
#define PyAcrr_New_RETURN
return type for New
Definition pyacrr.h:45
#define PyAcrr_New_PROTO
arguments for New
Definition pyacrr.h:46
#define PyAcrr_GetNative
Returns a pointer to the internal acrr, remember to release the reference when done with the object.
Definition pyacrr.h:73
#define PyAcrr_New
Creates a new polar scan instance.
Definition pyacrr.h:83
#define PyAcrr_GetNative_RETURN
return type for GetNative
Definition pyacrr.h:41
#define PyAcrr_GetNative_PROTO
arguments for GetNative
Definition pyacrr.h:42
Implementation of the Precipitation accumulation - ACRR algorithm.
A cartesian product.
Definition pyacrr.h:33
PyObject_HEAD RaveAcrr_t * acrr
the acrr
Definition pyacrr.h:35
Represents the acrr generator.
Definition rave_acrr.c:40