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/sceneSequence.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/sceneSequence.c')
-rw-r--r-- | source/blender/python/api2_2x/sceneSequence.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/source/blender/python/api2_2x/sceneSequence.c b/source/blender/python/api2_2x/sceneSequence.c index f6cad95b8ab..645d52370ea 100644 --- a/source/blender/python/api2_2x/sceneSequence.c +++ b/source/blender/python/api2_2x/sceneSequence.c @@ -293,8 +293,6 @@ static PyObject *Sequence_copy( BPy_Sequence * self ) /*****************************************************************************/ /* PythonTypeObject callback function prototypes */ /*****************************************************************************/ -static void Sequence_dealloc( BPy_Sequence * obj ); -static void SceneSeq_dealloc( BPy_Sequence * obj ); static PyObject *Sequence_repr( BPy_Sequence * obj ); static PyObject *SceneSeq_repr( BPy_SceneSeq * obj ); static int Sequence_compare( BPy_Sequence * a, BPy_Sequence * b ); @@ -791,7 +789,7 @@ PyTypeObject Sequence_Type = { /* Methods to implement standard operations */ - ( destructor ) Sequence_dealloc,/* destructor tp_dealloc; */ + NULL,/* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -878,7 +876,7 @@ PyTypeObject SceneSeq_Type = { /* Methods to implement standard operations */ - ( destructor ) SceneSeq_dealloc,/* destructor tp_dealloc; */ + NULL,/* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -1047,21 +1045,6 @@ struct Sequence *Sequence_FromPyObject( PyObject * py_seq ) } /*****************************************************************************/ -/* Function: Sequence_dealloc */ -/* Description: This is a callback function for the BlenObject type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Sequence_dealloc( BPy_Sequence * seq ) -{ - PyObject_DEL( seq ); -} -static void SceneSeq_dealloc( BPy_Sequence * seq ) -{ - PyObject_DEL( seq ); -} - - -/*****************************************************************************/ /* Function: Sequence_compare */ /* Description: This is a callback function for the BPy_Sequence type. It */ /* compares two Sequence_Type objects. Only the "==" and "!=" */ |