Python API
---------- A more robust attempt to avoid creating non-Empty objects with no data while maintaining backward compatibility.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user