RAVE
|
Python version of the Acqva API. More...
#include "acqva.h"
Go to the source code of this file.
Classes | |
struct | PyAcqva |
A composite generator. More... | |
Macros | |
#define | PyAcqva_Type_NUM 0 |
index of type | |
#define | PyAcqva_GetNative_NUM 1 |
index of GetNative | |
#define | PyAcqva_GetNative_RETURN Acqva_t* |
return type for GetNative | |
#define | PyAcqva_GetNative_PROTO (PyAcqva*) |
arguments for GetNative | |
#define | PyAcqva_New_NUM 2 |
index of New | |
#define | PyAcqva_New_RETURN PyAcqva* |
return type for New | |
#define | PyAcqva_New_PROTO (Acqva_t*) |
arguments for New | |
#define | PyAcqva_API_pointers 3 |
number of api pointers | |
#define | PyAcqva_CAPSULE_NAME "_pyacqva._C_API" |
#define | PyAcqva_GetNative (*(PyAcqva_GetNative_RETURN (*)PyAcqva_GetNative_PROTO) PyAcqva_API[PyAcqva_GetNative_NUM]) |
Returns a pointer to the internal composite, remember to release the reference when done with the object. | |
#define | PyAcqva_New (*(PyAcqva_New_RETURN (*)PyAcqva_New_PROTO) PyAcqva_API[PyAcqva_New_NUM]) |
Creates a new acqva instance. | |
#define | PyAcqva_Check(op) |
Checks if the object is a python acqva. | |
#define | PyAcqva_Type (*(PyTypeObject*)PyAcqva_API[PyAcqva_Type_NUM]) |
#define | import_pyacqva() |
Imports the PyAcqva module (like import _pyacqva in python). | |
Python version of the Acqva API.
#define import_pyacqva | ( | ) |
Imports the PyAcqva module (like import _pyacqva in python).
#define PyAcqva_API_pointers 3 |
number of api pointers
#define PyAcqva_Check | ( | op | ) |
Checks if the object is a python acqva.
#define PyAcqva_GetNative (*(PyAcqva_GetNative_RETURN (*)PyAcqva_GetNative_PROTO) PyAcqva_API[PyAcqva_GetNative_NUM]) |
Returns a pointer to the internal composite, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyAcqva_GetNative_NUM 1 |
index of GetNative
#define PyAcqva_GetNative_PROTO (PyAcqva*) |
arguments for GetNative
#define PyAcqva_GetNative_RETURN Acqva_t* |
return type for GetNative
#define PyAcqva_New (*(PyAcqva_New_RETURN (*)PyAcqva_New_PROTO) PyAcqva_API[PyAcqva_New_NUM]) |
Creates a new acqva instance.
Release this object with Py_DECREF. If a Acqva_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | acqva | - the Acqva_t intance. |
#define PyAcqva_New_NUM 2 |
index of New
#define PyAcqva_New_PROTO (Acqva_t*) |
arguments for New
#define PyAcqva_New_RETURN PyAcqva* |
return type for New
#define PyAcqva_Type_NUM 0 |
index of type