#include "Python.h"
Go to the source code of this file.
Compounds | |
class | PyObjectPlus |
Defines | |
#define | _adr_py_lib_h_ |
#define | Py_NEWARGS 1 |
#define | Py_Return Py_INCREF(Py_None); return Py_None; |
#define | Py_Error(E, M) {PyErr_SetString(E, M); return NULL;} |
#define | Py_Try(F) {if (!(F)) return NULL;} |
#define | Py_Assert(A,E,M) {if (!(A)) {PyErr_SetString(E, M); return NULL;}} |
#define | Py_Header |
#define | _getattr_up(Parent) |
|
Definition at line 20 of file sample/python/PyObjectPlus.h. |
|
Definition at line 18 of file sample/python/PyObjectPlus.h. |
|
Initializer: \ public: \ static PyTypeObject Type; \ static PyMethodDef Methods[]; \ static PyParentObject Parents[]; \ virtual PyTypeObject *GetType(void) {return &Type;}; \ virtual PyParentObject *GetParents(void) {return Parents;} Definition at line 29 of file sample/python/PyObjectPlus.h. |
|
Definition at line 15 of file sample/python/PyObjectPlus.h. |
|
Definition at line 16 of file sample/python/PyObjectPlus.h. |
|
Definition at line 19 of file sample/python/PyObjectPlus.h. |
|
Definition at line 2 of file sample/python/PyObjectPlus.h. |
|
Initializer: \ PyObject *rvalue = Py_FindMethod(Methods, this, attr); \ if (rvalue == NULL) \ { \ PyErr_Clear(); \ return Parent::_getattr(attr); \ } \ else \ return rvalue Definition at line 40 of file sample/python/PyObjectPlus.h. |