25#ifndef PYRADARDEFINITION_H
26#define PYRADARDEFINITION_H
37#define PyRadarDefinition_Type_NUM 0
39#define PyRadarDefinition_GetNative_NUM 1
40#define PyRadarDefinition_GetNative_RETURN RadarDefinition_t*
41#define PyRadarDefinition_GetNative_PROTO (PyRadarDefinition*)
43#define PyRadarDefinition_New_NUM 2
44#define PyRadarDefinition_New_RETURN PyRadarDefinition*
45#define PyRadarDefinition_New_PROTO (RadarDefinition_t*)
47#define PyRadarDefinition_API_pointers 3
49#define PyRadarDefinition_CAPSULE_NAME "_radardef._C_API"
51#ifdef PYRADARDEFINITION_MODULE
53extern PyTypeObject PyRadarDefinition_Type;
56#define PyRadarDefinition_Check(op) ((op)->ob_type == &PyRadarDefinition_Type)
66static void **PyRadarDefinition_API;
72#define PyRadarDefinition_GetNative \
73 (*(PyRadarDefinition_GetNative_RETURN (*)PyRadarDefinition_GetNative_PROTO) PyRadarDefinition_API[PyRadarDefinition_GetNative_NUM])
82#define PyRadarDefinition_New \
83 (*(PyRadarDefinition_New_RETURN (*)PyRadarDefinition_New_PROTO) PyRadarDefinition_API[PyRadarDefinition_New_NUM])
88#define PyRadarDefinition_Check(op) \
89 (Py_TYPE(op) == &PyRadarDefinition_Type)
91#define PyRadarDefinition_Type (*(PyTypeObject*)PyRadarDefinition_API[PyRadarDefinition_Type_NUM])
96#define import_pyradardefinition() \
97 PyRadarDefinition_API = (void **)PyCapsule_Import(PyRadarDefinition_CAPSULE_NAME, 1);
#define PyRadarDefinition_New_RETURN
return type for New
Definition pyradardefinition.h:44
#define PyRadarDefinition_New
Creates a new radar definition instance.
Definition pyradardefinition.h:82
#define PyRadarDefinition_GetNative_RETURN
return type for GetNative
Definition pyradardefinition.h:40
#define PyRadarDefinition_New_PROTO
arguments for New
Definition pyradardefinition.h:45
#define PyRadarDefinition_GetNative_PROTO
arguments for GetNative
Definition pyradardefinition.h:41
#define PyRadarDefinition_GetNative
Returns a pointer to the internal definition, remember to release the reference when done with the ob...
Definition pyradardefinition.h:72
Defines a radar definition This object supports RAVE_OBJECT_CLONE.
A radar definition.
Definition pyradardefinition.h:32
PyObject_HEAD RadarDefinition_t * def
the radar definition
Definition pyradardefinition.h:34
Represents the area.
Definition radardefinition.c:33