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/Ipo.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index 674b4e6d3f1..4c1865d72b1 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -229,7 +229,6 @@ static PySequenceMethods Ipo_as_sequence = { /*****************************************************************************/ /* Python Ipo_Type callback function prototypes: */ /*****************************************************************************/ -static void Ipo_dealloc( BPy_Ipo * self ); /*static int IpoPrint (BPy_Ipo *self, FILE *fp, int flags);*/ static int Ipo_compare( BPy_Ipo * a, BPy_Ipo * b ); static PyObject *Ipo_repr( BPy_Ipo * self ); @@ -365,7 +364,7 @@ PyTypeObject Ipo_Type = { /* Methods to implement standard operations */ - ( destructor ) Ipo_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -1268,16 +1267,6 @@ static int Ipo_setChannel( BPy_Ipo * self, PyObject * value ) } /*****************************************************************************/ -/* Function: Ipo_dealloc */ -/* Description: This is a callback function for the BPy_Ipo type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Ipo_dealloc( BPy_Ipo * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: Ipo_compare */ /* Description: This compares 2 ipo python types, == or != only. */ /*****************************************************************************/ |