Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PyObjectPlus.h File Reference

#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)


Define Documentation

#define Py_Assert( A, E, M )   {if (!(A)) {PyErr_SetString(E, M); return NULL;}}
 

Definition at line 20 of file sample/python/PyObjectPlus.h.

#define Py_Error( E, M )   {PyErr_SetString(E, M); return NULL;}
 

Definition at line 18 of file sample/python/PyObjectPlus.h.

#define Py_Header
 

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.

#define Py_NEWARGS   1
 

Definition at line 15 of file sample/python/PyObjectPlus.h.

#define Py_Return   Py_INCREF(Py_None); return Py_None;
 

Definition at line 16 of file sample/python/PyObjectPlus.h.

#define Py_Try( F )   {if (!(F)) return NULL;}
 

Definition at line 19 of file sample/python/PyObjectPlus.h.

#define _adr_py_lib_h_
 

Definition at line 2 of file sample/python/PyObjectPlus.h.

#define _getattr_up( Parent )
 

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.


Generated at Thu Feb 1 13:03:22 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000