diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:47:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:47:53 +0300 |
commit | 52e43441d123d8ec74dbdf0de6ab97fc30904184 (patch) | |
tree | 05b05f7e800bd8402392530c457c3e438341907b /source/blender/python/api2_2x/sceneRadio.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/sceneRadio.c')
-rw-r--r-- | source/blender/python/api2_2x/sceneRadio.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/sceneRadio.c b/source/blender/python/api2_2x/sceneRadio.c index 080f99cd4f9..ca76869a615 100644 --- a/source/blender/python/api2_2x/sceneRadio.c +++ b/source/blender/python/api2_2x/sceneRadio.c @@ -105,7 +105,6 @@ static PyObject *Radio_subdividePatches( BPy_Radio * self ); static PyObject *Radio_subdivideElems( BPy_Radio * self ); static PyObject *Radio_removeDoubles( BPy_Radio * self ); -static void Radio_dealloc( BPy_Radio * self ); static PyObject *Radio_repr( BPy_Radio * self ); static PyObject *EXPP_create_ret_PyInt( int value ) @@ -630,7 +629,7 @@ static PyTypeObject Radio_Type = { "Blender Radiosity", /*tp_name */ sizeof( BPy_Radio ), /*tp_basicsize */ 0, /*tp_itemsize */ - ( destructor ) Radio_dealloc, /*tp_dealloc */ + NULL, /*tp_dealloc */ 0, /*tp_print */ 0, /*tp_getattr */ 0, /*tp_setattr */ @@ -667,11 +666,6 @@ static PyTypeObject Radio_Type = { 0, 0, 0, 0, 0, 0, 0, 0, /* up to tp_del, so we don't get a warning */ }; -static void Radio_dealloc( BPy_Radio * self ) -{ - PyObject_DEL( self ); -} - static PyObject *Radio_repr( BPy_Radio * self ) { if( self->radio ) |