RAVE
|
Python version of the Detection range API. More...
#include "detection_range.h"
Go to the source code of this file.
Classes | |
struct | PyDetectionRange |
A detection range generator. More... | |
Macros | |
#define | PyDetectionRange_Type_NUM 0 |
index of type | |
#define | PyDetectionRange_GetNative_NUM 1 |
index of GetNative | |
#define | PyDetectionRange_GetNative_RETURN DetectionRange_t* |
return type for GetNative | |
#define | PyDetectionRange_GetNative_PROTO (PyDetectionRange*) |
arguments for GetNative | |
#define | PyDetectionRange_New_NUM 2 |
index of New | |
#define | PyDetectionRange_New_RETURN PyDetectionRange* |
return type for New | |
#define | PyDetectionRange_New_PROTO (DetectionRange_t*) |
arguments for New | |
#define | PyDetectionRange_API_pointers 3 |
number of api pointers | |
#define | PyDetectionRange_CAPSULE_NAME "_detectionrange._C_API" |
#define | PyDetectionRange_GetNative (*(PyDetectionRange_GetNative_RETURN (*)PyDetectionRange_GetNative_PROTO) PyDetectionRange_API[PyDetectionRange_GetNative_NUM]) |
Returns a pointer to the internal detection range, remember to release the reference when done with the object. | |
#define | PyDetectionRange_New (*(PyDetectionRange_New_RETURN (*)PyDetectionRange_New_PROTO) PyDetectionRange_API[PyDetectionRange_New_NUM]) |
Creates a new detection range instance. | |
#define | PyDetectionRange_Check(op) |
Checks if the object is a python detection range. | |
#define | PyDetectionRange_Type (*(PyTypeObject*)PyDetectionRange_API[PyDetectionRange_Type_NUM]) |
#define | import_detectionrange() |
Imports the PyDetectionRange module (like import _pydetectionrange in python). | |
#define | PyDetectionRange_Check(op) |
Checks if the object is a python detection range. | |
Python version of the Detection range API.
#define import_detectionrange | ( | ) |
Imports the PyDetectionRange module (like import _pydetectionrange in python).
#define PyDetectionRange_API_pointers 3 |
number of api pointers
#define PyDetectionRange_Check | ( | op | ) |
Checks if the object is a python detection range.
#define PyDetectionRange_Check | ( | op | ) |
Checks if the object is a python detection range.
#define PyDetectionRange_GetNative (*(PyDetectionRange_GetNative_RETURN (*)PyDetectionRange_GetNative_PROTO) PyDetectionRange_API[PyDetectionRange_GetNative_NUM]) |
Returns a pointer to the internal detection range, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyDetectionRange_GetNative_NUM 1 |
index of GetNative
#define PyDetectionRange_GetNative_PROTO (PyDetectionRange*) |
arguments for GetNative
#define PyDetectionRange_GetNative_RETURN DetectionRange_t* |
return type for GetNative
#define PyDetectionRange_New (*(PyDetectionRange_New_RETURN (*)PyDetectionRange_New_PROTO) PyDetectionRange_API[PyDetectionRange_New_NUM]) |
Creates a new detection range instance.
Release this object with Py_DECREF. If a DetectionRange_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | dr | - the DetectopmRamge_t intance. |
#define PyDetectionRange_New_NUM 2 |
index of New
#define PyDetectionRange_New_PROTO (DetectionRange_t*) |
arguments for New
#define PyDetectionRange_New_RETURN PyDetectionRange* |
return type for New
#define PyDetectionRange_Type_NUM 0 |
index of type