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/IDProp.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/IDProp.c')
-rw-r--r-- | source/blender/python/api2_2x/IDProp.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/source/blender/python/api2_2x/IDProp.c b/source/blender/python/api2_2x/IDProp.c index 34da92484a9..8b2dc4543f9 100644 --- a/source/blender/python/api2_2x/IDProp.c +++ b/source/blender/python/api2_2x/IDProp.c @@ -46,10 +46,6 @@ extern PyTypeObject IDArray_Type; extern PyTypeObject IDGroup_Iter_Type; /*********************** ID Property Main Wrapper Stuff ***************/ -void IDGroup_dealloc( BPy_IDProperty *self ) -{ - PyObject_DEL( self ); -} PyObject *IDGroup_repr( BPy_IDProperty *self ) { @@ -554,7 +550,7 @@ PyTypeObject IDGroup_Type = { /* Methods to implement standard operations */ - ( destructor ) IDGroup_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -625,11 +621,6 @@ PyObject *BPy_Wrap_IDProperty(ID *id, IDProperty *prop, IDProperty *parent) /********Array Wrapper********/ -void IDArray_dealloc(void *self) -{ - PyObject_DEL(self); -} - PyObject *IDArray_repr(BPy_IDArray *self) { return Py_BuildValue("s", "(ID Array)"); @@ -741,7 +732,7 @@ PyTypeObject IDArray_Type = { /* Methods to implement standard operations */ - ( destructor ) IDArray_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -814,10 +805,6 @@ PyTypeObject IDArray_Type = { }; /*********** ID Property Group iterator ********/ -void IDGroup_Iter_dealloc(void *self) -{ - PyObject_DEL(self); -} PyObject *IDGroup_Iter_iterself(PyObject *self) { @@ -858,7 +845,7 @@ PyTypeObject IDGroup_Iter_Type = { /* Methods to implement standard operations */ - ( destructor ) IDGroup_Iter_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ |