|
RAVE
|
Python version of the QI total algorithm. More...
#include "rave_qitotal.h"Go to the source code of this file.
Classes | |
| struct | PyQITotal |
| A qi total object. More... | |
Macros | |
| #define | PyQITotal_Type_NUM 0 |
| index for Type | |
| #define | PyQITotal_GetNative_NUM 1 |
| index for GetNative | |
| #define | PyQITotal_GetNative_RETURN RaveQITotal_t* |
| return type for GetNative | |
| #define | PyQITotal_GetNative_PROTO (PyQITotal*) |
| argument prototype for GetNative | |
| #define | PyQITotal_New_NUM 2 |
| index for New | |
| #define | PyQITotal_New_RETURN PyQITotal* |
| return type for New | |
| #define | PyQITotal_New_PROTO (RaveQITotal_t*) |
| argument prototype for New | |
| #define | PyQITotal_API_pointers 3 |
| number of function and variable pointers | |
| #define | PyQITotal_CAPSULE_NAME "_qitotal._C_API" |
| #define | PyQITotal_GetNative (*(PyQITotal_GetNative_RETURN (*)PyQITotal_GetNative_PROTO) PyQITotal_API[PyQITotal_GetNative_NUM]) |
| Returns a pointer to the internal qi total, remember to release the reference when done with the object. | |
| #define | PyQITotal_New (*(PyQITotal_New_RETURN (*)PyQITotal_New_PROTO) PyQITotal_API[PyQITotal_New_NUM]) |
| Creates a new qi total instance. | |
| #define | PyQITotal_Check(op) |
| Checks if the object is a python qi total instance. | |
| #define | PyQITotal_Type (*(PyTypeObject*)PyQITotal_API[PyQITotal_Type_NUM]) |
| #define | import_qitotal() |
| Imports the PyArea module (like import _area in python). | |
Python version of the QI total algorithm.
| #define import_qitotal | ( | ) |
Imports the PyArea module (like import _area in python).
| #define PyQITotal_API_pointers 3 |
number of function and variable pointers
| #define PyQITotal_Check | ( | op | ) |
Checks if the object is a python qi total instance.
| #define PyQITotal_GetNative (*(PyQITotal_GetNative_RETURN (*)PyQITotal_GetNative_PROTO) PyQITotal_API[PyQITotal_GetNative_NUM]) |
Returns a pointer to the internal qi total, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
| #define PyQITotal_GetNative_NUM 1 |
index for GetNative
| #define PyQITotal_GetNative_PROTO (PyQITotal*) |
argument prototype for GetNative
| #define PyQITotal_GetNative_RETURN RaveQITotal_t* |
return type for GetNative
| #define PyQITotal_New (*(PyQITotal_New_RETURN (*)PyQITotal_New_PROTO) PyQITotal_API[PyQITotal_New_NUM]) |
Creates a new qi total instance.
Release this object with Py_DECREF. If the passed RaveQITotal_t instance is bound to a python instance, this instance will be increfed and returned.
| [in] | qitotal | - the RaveQITotal_t instance. |
| #define PyQITotal_New_NUM 2 |
index for New
| #define PyQITotal_New_PROTO (RaveQITotal_t*) |
argument prototype for New
| #define PyQITotal_New_RETURN PyQITotal* |
return type for New
| #define PyQITotal_Type_NUM 0 |
index for Type