RAVE
|
Python version of the Area API. More...
#include "area.h"
Go to the source code of this file.
Classes | |
struct | PyArea |
A cartesian product. More... | |
Macros | |
#define | PyArea_Type_NUM 0 |
index of type | |
#define | PyArea_GetNative_NUM 1 |
index of GetNative | |
#define | PyArea_GetNative_RETURN Area_t* |
return type for GetNative | |
#define | PyArea_GetNative_PROTO (PyArea*) |
arguments for GetNative | |
#define | PyArea_New_NUM 2 |
index of New | |
#define | PyArea_New_RETURN PyArea* |
return type for New | |
#define | PyArea_New_PROTO (Area_t*) |
arguments for New | |
#define | PyArea_API_pointers 3 |
number of API pointers | |
#define | PyArea_CAPSULE_NAME "_area._C_API" |
#define | PyArea_GetNative (*(PyArea_GetNative_RETURN (*)PyArea_GetNative_PROTO) PyArea_API[PyArea_GetNative_NUM]) |
Returns a pointer to the internal area, remember to release the reference when done with the object. | |
#define | PyArea_New (*(PyArea_New_RETURN (*)PyArea_New_PROTO) PyArea_API[PyArea_New_NUM]) |
Creates a new polar scan instance. | |
#define | PyArea_Check(op) |
Checks if the object is a python area. | |
#define | PyArea_Type (*(PyTypeObject*)PyArea_API[PyArea_Type_NUM]) |
#define | import_pyarea() |
Imports the PyArea module (like import _area in python). | |
Python version of the Area API.
#define import_pyarea | ( | ) |
Imports the PyArea module (like import _area in python).
#define PyArea_API_pointers 3 |
number of API pointers
#define PyArea_Check | ( | op | ) |
Checks if the object is a python area.
#define PyArea_GetNative (*(PyArea_GetNative_RETURN (*)PyArea_GetNative_PROTO) PyArea_API[PyArea_GetNative_NUM]) |
Returns a pointer to the internal area, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
#define PyArea_GetNative_NUM 1 |
index of GetNative
#define PyArea_GetNative_PROTO (PyArea*) |
arguments for GetNative
#define PyArea_GetNative_RETURN Area_t* |
return type for GetNative
#define PyArea_New (*(PyArea_New_RETURN (*)PyArea_New_PROTO) PyArea_API[PyArea_New_NUM]) |
Creates a new polar scan instance.
Release this object with Py_DECREF. If a Area_t area is provided and this area already is bound to a python instance, this instance will be increfed and returned.
[in] | area | - the Area_t intance. |
#define PyArea_New_NUM 2 |
index of New
#define PyArea_New_PROTO (Area_t*) |
arguments for New
#define PyArea_New_RETURN PyArea* |
return type for New
#define PyArea_Type_NUM 0 |
index of type