|
RAVE
|
Python version of the PIA API. More...
Go to the source code of this file.
Classes | |
| struct | PyPia |
| A pia. More... | |
Macros | |
| #define | PyPia_Type_NUM 0 |
| index of type | |
| #define | PyPia_GetNative_NUM 1 |
| index of GetNative | |
| #define | PyPia_GetNative_RETURN RavePIA_t* |
| return type for GetNative | |
| #define | PyPia_GetNative_PROTO (PyPia*) |
| arguments for GetNative | |
| #define | PyPia_New_NUM 2 |
| index of New | |
| #define | PyPia_New_RETURN PyPia* |
| return type for New | |
| #define | PyPia_New_PROTO (RavePIA_t*) |
| arguments for New | |
| #define | PyPia_API_pointers 3 |
| number of API pointers | |
| #define | PyPia_CAPSULE_NAME "_pia._C_API" |
| #define | PyPia_GetNative (*(PyPia_GetNative_RETURN (*)PyPia_GetNative_PROTO) PyPia_API[PyPia_GetNative_NUM]) |
| Returns a pointer to the internal pia, remember to release the reference when done with the object. | |
| #define | PyPia_New (*(PyPia_New_RETURN (*)PyPia_New_PROTO) PyPia_API[PyPia_New_NUM]) |
| Creates a new pia instance. | |
| #define | PyPia_Check(op) |
| Checks if the object is a python gra instance. | |
| #define | PyPia_Type (*(PyTypeObject*)PyPia_API[PyPia_Type_NUM]) |
| #define | import_pia() |
| Imports the PyPia module (like import _pia in python). | |
Python version of the PIA API.
| #define import_pia | ( | ) |
Imports the PyPia module (like import _pia in python).
| #define PyPia_API_pointers 3 |
number of API pointers
| #define PyPia_Check | ( | op | ) |
Checks if the object is a python gra instance.
| #define PyPia_GetNative (*(PyPia_GetNative_RETURN (*)PyPia_GetNative_PROTO) PyPia_API[PyPia_GetNative_NUM]) |
Returns a pointer to the internal pia, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
| #define PyPia_GetNative_NUM 1 |
index of GetNative
| #define PyPia_GetNative_PROTO (PyPia*) |
arguments for GetNative
| #define PyPia_GetNative_RETURN RavePIA_t* |
return type for GetNative
| #define PyPia_New (*(PyPia_New_RETURN (*)PyPia_New_PROTO) PyPia_API[PyPia_New_NUM]) |
| #define PyPia_New_NUM 2 |
index of New
| #define PyPia_New_PROTO (RavePIA_t*) |
arguments for New
| #define PyPia_New_RETURN PyPia* |
return type for New
| #define PyPia_Type_NUM 0 |
index of type