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/Metaball.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Metaball.c')
-rw-r--r-- | source/blender/python/api2_2x/Metaball.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Metaball.c b/source/blender/python/api2_2x/Metaball.c index ba6e0364e59..baf8ae27ec6 100644 --- a/source/blender/python/api2_2x/Metaball.c +++ b/source/blender/python/api2_2x/Metaball.c @@ -156,7 +156,6 @@ static PyMethodDef BPy_Metaelem_methods[] = { /*****************************************************************************/ /* Python Metaball_Type callback function prototypes: */ /*****************************************************************************/ -static void Metaball_dealloc( BPy_Metaball * self ); static PyObject *Metaball_repr( BPy_Metaball * self ); static int Metaball_compare( BPy_Metaball * a, BPy_Metaball * b ); @@ -229,7 +228,7 @@ PyTypeObject Metaball_Type = { /* Methods to implement standard operations */ - ( destructor ) Metaball_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -732,14 +731,6 @@ static PyObject *Metaball_getElements( BPy_Metaball * self ) } /* - * Metaball dealloc - free from memory - */ -static void Metaball_dealloc( BPy_Metaball * self ) -{ - PyObject_DEL( self ); -} - -/* * Metaelem dealloc - free from memory */ /* This is a callback function for the BPy_Metaelem type. It is */ |