RAVE
|
Python version of the Cartesian API. More...
#include "cartesianparam.h"
Go to the source code of this file.
Classes | |
struct | PyCartesianParam |
A cartesian product. More... | |
Macros | |
#define | PyCartesianParam_Type_NUM 0 |
index of type | |
#define | PyCartesianParam_GetNative_NUM 1 |
index of GetNative | |
#define | PyCartesianParam_GetNative_RETURN CartesianParam_t* |
return type for GetNative | |
#define | PyCartesianParam_GetNative_PROTO (PyCartesianParam*) |
arguments for GetNative | |
#define | PyCartesianParam_New_NUM 2 |
index of New | |
#define | PyCartesianParam_New_RETURN PyCartesianParam* |
return type for New | |
#define | PyCartesianParam_New_PROTO (CartesianParam_t*) |
arguments for New | |
#define | PyCartesianParam_API_pointers 3 |
number of api pointers | |
#define | PyCartesianParam_CAPSULE_NAME "_cartesianparam._C_API" |
#define | PyCartesianParam_GetNative (*(PyCartesianParam_GetNative_RETURN (*)PyCartesianParam_GetNative_PROTO) PyCartesianParam_API[PyCartesianParam_GetNative_NUM]) |
Returns a pointer to the internal cartesian, remember to release the reference when done with the object. | |
#define | PyCartesianParam_New (*(PyCartesianParam_New_RETURN (*)PyCartesianParam_New_PROTO) PyCartesianParam_API[PyCartesianParam_New_NUM]) |
Creates a new cartesian instance. | |
#define | PyCartesianParam_Check(op) |
Checks if the object is a python cartesian param. | |
#define | PyCartesianParam_Type (*(PyTypeObject*)PyCartesianParam_API[PyCartesianParam_Type_NUM]) |
#define | import_pycartesianparam() |
Imports the PyCartesianParam module (like import _area in python). | |
Python version of the Cartesian API.
#define import_pycartesianparam | ( | ) |
Imports the PyCartesianParam module (like import _area in python).
#define PyCartesianParam_API_pointers 3 |
number of api pointers
#define PyCartesianParam_Check | ( | op | ) |
Checks if the object is a python cartesian param.
#define PyCartesianParam_GetNative (*(PyCartesianParam_GetNative_RETURN (*)PyCartesianParam_GetNative_PROTO) PyCartesianParam_API[PyCartesianParam_GetNative_NUM]) |
Returns a pointer to the internal cartesian, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyCartesianParam_GetNative_NUM 1 |
index of GetNative
#define PyCartesianParam_GetNative_PROTO (PyCartesianParam*) |
arguments for GetNative
#define PyCartesianParam_GetNative_RETURN CartesianParam_t* |
return type for GetNative
#define PyCartesianParam_New (*(PyCartesianParam_New_RETURN (*)PyCartesianParam_New_PROTO) PyCartesianParam_API[PyCartesianParam_New_NUM]) |
Creates a new cartesian instance.
Release this object with Py_DECREF. If a Cartesian_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | cartesian | - the Cartesian_t intance. |
#define PyCartesianParam_New_NUM 2 |
index of New
#define PyCartesianParam_New_PROTO (CartesianParam_t*) |
arguments for New
#define PyCartesianParam_New_RETURN PyCartesianParam* |
return type for New
#define PyCartesianParam_Type_NUM 0 |
index of type