diff options
Diffstat (limited to 'source/blender/python/api2_2x/World.c')
-rw-r--r-- | source/blender/python/api2_2x/World.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c index 0c45c6d40a6..c16d4c3fc97 100644 --- a/source/blender/python/api2_2x/World.c +++ b/source/blender/python/api2_2x/World.c @@ -117,7 +117,6 @@ static PyObject *M_World_GetCurrent( PyObject * self ); /*****************************************************************************/ /* Python World_Type callback function prototypes: */ /*****************************************************************************/ -static void World_DeAlloc( BPy_World * self ); //static int World_Print (BPy_World *self, FILE *fp, int flags); static int World_Compare( BPy_World * a, BPy_World * b ); static PyObject *World_Repr( BPy_World * self ); @@ -267,8 +266,8 @@ PyTypeObject World_Type = { sizeof( BPy_World ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) World_DeAlloc, /* tp_dealloc */ - 0, /* tp_print */ + NULL, /* tp_dealloc */ + 0, /* tp_print */ NULL, /* tp_getattr */ NULL, /* tp_setattr */ ( cmpfunc ) World_Compare, /* tp_compare */ @@ -908,18 +907,6 @@ static PyObject *World_copy( BPy_World * self ) return World_CreatePyObject(world); } - -/*@{*/ - -/** - * \brief The World PyType destructor - */ - -static void World_DeAlloc( BPy_World * self ) -{ - PyObject_DEL( self ); -} - /** * \brief The World PyType compare function * |