RAVE
|
Python version of the PolarScan API. More...
#include "polarscan.h"
Go to the source code of this file.
Classes | |
struct | PyPolarScan |
A polar scan. More... | |
Macros | |
#define | PyPolarScan_Type_NUM 0 |
index of the type | |
#define | PyPolarScan_GetNative_NUM 1 |
index of GetNative | |
#define | PyPolarScan_GetNative_RETURN PolarScan_t* |
return type for GetNative | |
#define | PyPolarScan_GetNative_PROTO (PyPolarScan*) |
arguments for GetNative | |
#define | PyPolarScan_New_NUM 2 |
index of New | |
#define | PyPolarScan_New_RETURN PyPolarScan* |
return type for New | |
#define | PyPolarScan_New_PROTO (PolarScan_t*) |
arguments for New | |
#define | PyPolarScan_API_pointers 3 |
number of pointers | |
#define | PyPolarScan_CAPSULE_NAME "_polarscan._C_API" |
#define | PyPolarScan_GetNative (*(PyPolarScan_GetNative_RETURN (*)PyPolarScan_GetNative_PROTO) PyPolarScan_API[PyPolarScan_GetNative_NUM]) |
Returns a pointer to the internal polar scan, remember to release the reference when done with the object. | |
#define | PyPolarScan_New (*(PyPolarScan_New_RETURN (*)PyPolarScan_New_PROTO) PyPolarScan_API[PyPolarScan_New_NUM]) |
Creates a new polar scan instance. | |
#define | PyPolarScan_Check(op) |
Checks if the object is a python polar scan . | |
#define | PyPolarScan_Type (*(PyTypeObject*)PyPolarScan_API[PyPolarScan_Type_NUM]) |
#define | import_pypolarscan() |
Imports the PyPolarScan module (like import _polarscan in python). | |
Python version of the PolarScan API.
#define import_pypolarscan | ( | ) |
Imports the PyPolarScan module (like import _polarscan in python).
#define PyPolarScan_API_pointers 3 |
number of pointers
#define PyPolarScan_Check | ( | op | ) |
Checks if the object is a python polar scan .
#define PyPolarScan_GetNative (*(PyPolarScan_GetNative_RETURN (*)PyPolarScan_GetNative_PROTO) PyPolarScan_API[PyPolarScan_GetNative_NUM]) |
Returns a pointer to the internal polar scan, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyPolarScan_GetNative_NUM 1 |
index of GetNative
#define PyPolarScan_GetNative_PROTO (PyPolarScan*) |
arguments for GetNative
#define PyPolarScan_GetNative_RETURN PolarScan_t* |
return type for GetNative
#define PyPolarScan_New (*(PyPolarScan_New_RETURN (*)PyPolarScan_New_PROTO) PyPolarScan_API[PyPolarScan_New_NUM]) |
Creates a new polar scan instance.
Release this object with Py_DECREF. If a PolarScan_t scan is provided and this scan already is bound to a python instance, this instance will be increfed and returned.
[in] | scan | - the PolarScan_t intance. |
#define PyPolarScan_New_NUM 2 |
index of New
#define PyPolarScan_New_PROTO (PolarScan_t*) |
arguments for New
#define PyPolarScan_New_RETURN PyPolarScan* |
return type for New
#define PyPolarScan_Type_NUM 0 |
index of the type