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/Main.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Main.c')
-rw-r--r-- | source/blender/python/api2_2x/Main.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/python/api2_2x/Main.c b/source/blender/python/api2_2x/Main.c index 138c6f9fa7e..f25ef8bcf0e 100644 --- a/source/blender/python/api2_2x/Main.c +++ b/source/blender/python/api2_2x/Main.c @@ -618,16 +618,6 @@ PyObject *MainSeq_unlink(BPy_MainSeq *self, PyObject * args) "Only types Scene, Group and Text can unlink" ); } -/************************************************************************ - * - * Python MainSeq_Type standard operations - * - ************************************************************************/ -static void MainSeq_dealloc( BPy_MainSeq * self ) -{ - PyObject_DEL( self ); -} - static int MainSeq_compare( BPy_MainSeq * a, BPy_MainSeq * b ) { return ( a->type == b->type) ? 0 : -1; @@ -673,7 +663,7 @@ PyTypeObject MainSeq_Type = { /* Methods to implement standard operations */ - ( destructor ) MainSeq_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ |