BALTRAD PPC
|
Python version of the ppc options class. More...
#include "ppc_options.h"
Go to the source code of this file.
Classes | |
struct | PyPpcOptions |
The ppc objects class. More... | |
Macros | |
#define | PyPpcOptions_Type_NUM 0 |
index of type | |
#define | PyPpcOptions_GetNative_NUM 1 |
index of GetNative | |
#define | PyPpcOptions_GetNative_RETURN PpcOptions_t* |
return type for GetNative | |
#define | PyPpcOptions_GetNative_PROTO (PyPpcOptions*) |
arguments for GetNative | |
#define | PyPpcOptions_New_NUM 2 |
index of New | |
#define | PyPpcOptions_New_RETURN PyPpcOptions* |
return type for New | |
#define | PyPpcOptions_New_PROTO (PpcOptions_t*) |
arguments for New | |
#define | PyPpcOptions_API_pointers 3 |
number of type and function pointers | |
#define | PyPpcOptions_CAPSULE_NAME "_ppcoptions._C_API" |
#define | PyPpcOptions_GetNative (*(PyPpcOptions_GetNative_RETURN (*)PyPpcOptions_GetNative_PROTO) PyPpcOptions_API[PyPpcOptions_GetNative_NUM]) |
Returns a pointer to the internal ppc options, remember to release the reference when done with the object. | |
#define | PyPpcOptions_New (*(PyPpcOptions_New_RETURN (*)PyPpcOptions_New_PROTO) PyPpcOptions_API[PyPpcOptions_New_NUM]) |
Creates a new ppc options instance. | |
#define | PyPpcOptions_Check(op) |
Checks if the object is a python ppc options instance. | |
#define | PyPpcOptions_Type (*(PyTypeObject*)PyPpcOptions_API[PyPpcOptions_Type_NUM]) |
#define | import_ppcoptions() |
Imports the PyPpcOptions module (like import _ppcoptions in python). | |
Python version of the ppc options class.
#define import_ppcoptions | ( | ) |
Imports the PyPpcOptions module (like import _ppcoptions in python).
#define PyPpcOptions_API_pointers 3 |
number of type and function pointers
#define PyPpcOptions_Check | ( | op | ) |
Checks if the object is a python ppc options instance.
#define PyPpcOptions_GetNative (*(PyPpcOptions_GetNative_RETURN (*)PyPpcOptions_GetNative_PROTO) PyPpcOptions_API[PyPpcOptions_GetNative_NUM]) |
Returns a pointer to the internal ppc options, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyPpcOptions_GetNative_NUM 1 |
index of GetNative
#define PyPpcOptions_GetNative_PROTO (PyPpcOptions*) |
arguments for GetNative
#define PyPpcOptions_GetNative_RETURN PpcOptions_t* |
return type for GetNative
#define PyPpcOptions_New (*(PyPpcOptions_New_RETURN (*)PyPpcOptions_New_PROTO) PyPpcOptions_API[PyPpcOptions_New_NUM]) |
Creates a new ppc options instance.
Release this object with Py_DECREF. If a PpcOptions_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | processor | - the PpcOptions_t instance. |
#define PyPpcOptions_New_NUM 2 |
index of New
#define PyPpcOptions_New_PROTO (PpcOptions_t*) |
arguments for New
#define PyPpcOptions_New_RETURN PyPpcOptions* |
return type for New
#define PyPpcOptions_Type_NUM 0 |
index of type