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/Effect.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Effect.c')
-rw-r--r-- | source/blender/python/api2_2x/Effect.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Effect.c b/source/blender/python/api2_2x/Effect.c index 7fa1b1aabe1..4f689de4b05 100644 --- a/source/blender/python/api2_2x/Effect.c +++ b/source/blender/python/api2_2x/Effect.c @@ -204,7 +204,6 @@ static PyObject *Effect_oldsetDefvec( BPy_Effect * self, PyObject * a ); /*****************************************************************************/ /* Python Effect_Type callback function prototypes: */ /*****************************************************************************/ -static void Effect_dealloc( BPy_Effect * msh ); static PyObject *Effect_repr( void ); /*****************************************************************************/ @@ -476,7 +475,7 @@ PyTypeObject Effect_Type = { /* Methods to implement standard operations */ - ( destructor ) Effect_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -1611,16 +1610,6 @@ static PyObject *Effect_getParticlesLoc( BPy_Effect * self ) } /*****************************************************************************/ -/* Function: Effect_dealloc */ -/* Description: This is a callback function for the BPy_Effect type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Effect_dealloc( BPy_Effect * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: Effect_repr */ /* Description: This is a callback function for the BPy_Effect type. It */ /* builds a meaninful string to represent effcte objects. */ |