HL-HDF
|
#include <pyhlcompat.h>
#include "pyhlhdf_common.h"
#include "hlhdf.h"
#include "hlhdf_compound_utils.h"
#include "structmember.h"
Classes | |
struct | RaveInfoStruct |
The compound struct. More... | |
struct | RaveInfoType |
The python type object. More... | |
struct | RaveInfoObject |
The python data object. More... | |
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
#define | HLHDF_PYMODULE_WITH_IMPORT_ARRAY |
To ensure that arrayobject is imported correctly. | |
#define | raiseException(type, msg) {PyErr_SetString(type,msg);return NULL;} |
Sets an exception in the python interpreter and returns NULL which will generate an exception. | |
#define | setException(type, msg) {PyErr_SetString(type,msg);} |
Sets an exception in the python interpreter. | |
#define | RaveInfoType_Check(op) ((op)->ob_type == &RaveInfoType_Type) |
Checks if the object is a RaveInfoType. | |
#define | RaveInfoObject_Check(op) ((op)->ob_type == &RaveInfoObject_Type) |
Checks if the object is a RaveInfoObject. | |
Functions | |
MOD_INIT (_rave_info_type) | |
Initializes the _rave_info_type. | |
C-definition of a compound type usable from python
#define HLHDF_PYMODULE_WITH_IMPORT_ARRAY |
To ensure that arrayobject is imported correctly.
#define raiseException | ( | type, | |
msg ) {PyErr_SetString(type,msg);return NULL;} |
Sets an exception in the python interpreter and returns NULL which will generate an exception.
#define RaveInfoObject_Check | ( | op | ) | ((op)->ob_type == &RaveInfoObject_Type) |
Checks if the object is a RaveInfoObject.
#define RaveInfoType_Check | ( | op | ) | ((op)->ob_type == &RaveInfoType_Type) |
Checks if the object is a RaveInfoType.
#define setException | ( | type, | |
msg ) {PyErr_SetString(type,msg);} |
Sets an exception in the python interpreter.
MOD_INIT | ( | _rave_info_type | ) |
Initializes the _rave_info_type.