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/Group.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Group.c')
-rwxr-xr-x | source/blender/python/api2_2x/Group.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Group.c b/source/blender/python/api2_2x/Group.c index b785c58df3a..d9a5fe7e7d9 100755 --- a/source/blender/python/api2_2x/Group.c +++ b/source/blender/python/api2_2x/Group.c @@ -208,7 +208,6 @@ static int Group_setObjects( BPy_Group * self, PyObject * args ) /*****************************************************************************/ /* PythonTypeObject callback function prototypes */ /*****************************************************************************/ -static void Group_dealloc( BPy_Group * obj ); static PyObject *Group_repr( BPy_Group * obj ); static int Group_compare( BPy_Group * a, BPy_Group * b ); @@ -271,7 +270,7 @@ PyTypeObject Group_Type = { /* Methods to implement standard operations */ - ( destructor ) Group_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -528,16 +527,6 @@ Group *Group_FromPyObject( PyObject * py_grp ) } /*****************************************************************************/ -/* Function: Group_dealloc */ -/* Description: This is a callback function for the BlenObject type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Group_dealloc( BPy_Group * grp ) -{ - PyObject_DEL( grp ); -} - -/*****************************************************************************/ /* Function: Group_compare */ /* Description: This is a callback function for the BPy_Group type. It */ /* compares two Group_Type objects. Only the "==" and "!=" */ |