RAVE
|
Python version of the Composite API. More...
#include "composite.h"
Go to the source code of this file.
Classes | |
struct | PyComposite |
A composite generator. More... | |
Macros | |
#define | PyComposite_Type_NUM 0 |
index of type | |
#define | PyComposite_GetNative_NUM 1 |
index of GetNative | |
#define | PyComposite_GetNative_RETURN Composite_t* |
return type for GetNative | |
#define | PyComposite_GetNative_PROTO (PyComposite*) |
arguments for GetNative | |
#define | PyComposite_New_NUM 2 |
index of New | |
#define | PyComposite_New_RETURN PyComposite* |
return type for New | |
#define | PyComposite_New_PROTO (Composite_t*) |
arguments for New | |
#define | PyComposite_API_pointers 3 |
number of api pointers | |
#define | PyComposite_CAPSULE_NAME "_pycomposite._C_API" |
#define | PyComposite_GetNative (*(PyComposite_GetNative_RETURN (*)PyComposite_GetNative_PROTO) PyComposite_API[PyComposite_GetNative_NUM]) |
Returns a pointer to the internal composite, remember to release the reference when done with the object. | |
#define | PyComposite_New (*(PyComposite_New_RETURN (*)PyComposite_New_PROTO) PyComposite_API[PyComposite_New_NUM]) |
Creates a new composite instance. | |
#define | PyComposite_Check(op) |
Checks if the object is a python composite. | |
#define | PyComposite_Type (*(PyTypeObject*)PyComposite_API[PyComposite_Type_NUM]) |
#define | import_pycomposite() |
Imports the PyArea module (like import _area in python). | |
Python version of the Composite API.
#define import_pycomposite | ( | ) |
Imports the PyArea module (like import _area in python).
#define PyComposite_API_pointers 3 |
number of api pointers
#define PyComposite_Check | ( | op | ) |
Checks if the object is a python composite.
#define PyComposite_GetNative (*(PyComposite_GetNative_RETURN (*)PyComposite_GetNative_PROTO) PyComposite_API[PyComposite_GetNative_NUM]) |
Returns a pointer to the internal composite, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyComposite_GetNative_NUM 1 |
index of GetNative
#define PyComposite_GetNative_PROTO (PyComposite*) |
arguments for GetNative
#define PyComposite_GetNative_RETURN Composite_t* |
return type for GetNative
#define PyComposite_New (*(PyComposite_New_RETURN (*)PyComposite_New_PROTO) PyComposite_API[PyComposite_New_NUM]) |
Creates a new composite instance.
Release this object with Py_DECREF. If a Composite_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | composite | - the Composite_t intance. |
#define PyComposite_New_NUM 2 |
index of New
#define PyComposite_New_PROTO (Composite_t*) |
arguments for New
#define PyComposite_New_RETURN PyComposite* |
return type for New
#define PyComposite_Type_NUM 0 |
index of type