Python API

----------
A more robust attempt to avoid creating non-Empty objects with no data while
maintaining backward compatibility.
This commit is contained in:
Ken Hughes
2006-12-17 00:21:57 +00:00
parent 08e3f8b1da
commit 08a7208aa6
5 changed files with 46 additions and 16 deletions

View File

@@ -48,9 +48,9 @@ extern PyTypeObject Object_Type;
typedef struct {
PyObject_HEAD
struct Object *object;
short realtype;
} BPy_Object;
PyObject *Object_Init( void );
PyObject *Object_CreatePyObject( struct Object *obj );
Object *Object_FromPyObject( PyObject * py_obj );