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/Texture.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Texture.c')
-rw-r--r-- | source/blender/python/api2_2x/Texture.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/Texture.c b/source/blender/python/api2_2x/Texture.c index 9e657dec109..8d980ddf988 100644 --- a/source/blender/python/api2_2x/Texture.c +++ b/source/blender/python/api2_2x/Texture.c @@ -780,7 +780,6 @@ static PyGetSetDef BPy_Texture_getseters[] = { /*****************************************************************************/ /* Python Texture_Type callback function prototypes: */ /*****************************************************************************/ -static void Texture_dealloc( BPy_Texture * self ); static int Texture_compare( BPy_Texture * a, BPy_Texture * b ); static PyObject *Texture_repr( BPy_Texture * self ); @@ -797,7 +796,7 @@ PyTypeObject Texture_Type = { /* Methods to implement standard operations */ - ( destructor ) Texture_dealloc,/* destructor tp_dealloc; */ + NULL, /* destructor tp_dealloc; */ NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ @@ -974,11 +973,6 @@ static PyObject *Texture_repr( BPy_Texture * self ) self->texture->id.name + 2 ); } -static void Texture_dealloc( BPy_Texture * self ) -{ - PyObject_DEL( self ); -} - static PyObject *M_Texture_TypesDict( void ) { PyObject *Types = PyConstant_New( ); |