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/rgbTuple.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/rgbTuple.c')
-rw-r--r-- | source/blender/python/api2_2x/rgbTuple.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/rgbTuple.c b/source/blender/python/api2_2x/rgbTuple.c index c498601222f..8536d641042 100644 --- a/source/blender/python/api2_2x/rgbTuple.c +++ b/source/blender/python/api2_2x/rgbTuple.c @@ -40,7 +40,6 @@ /*****************************************************************************/ /* Python rgbTuple_Type callback function prototypes: */ /*****************************************************************************/ -static void rgbTuple_dealloc( BPy_rgbTuple * self ); static PyObject *rgbTuple_getAttr( BPy_rgbTuple * self, char *name ); static int rgbTuple_setAttr( BPy_rgbTuple * self, char *name, PyObject * v ); static PyObject *rgbTuple_repr( BPy_rgbTuple * self ); @@ -90,7 +89,7 @@ PyTypeObject rgbTuple_Type = { sizeof( BPy_rgbTuple ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) rgbTuple_dealloc, /* tp_dealloc */ + NULL, /* tp_dealloc */ 0, /* tp_print */ ( getattrfunc ) rgbTuple_getAttr, /* tp_getattr */ ( setattrfunc ) rgbTuple_setAttr, /* tp_setattr */ @@ -185,16 +184,6 @@ int rgbTuple_setCol( BPy_rgbTuple * self, PyObject * args ) } /*****************************************************************************/ -/* Function: rgbTuple_dealloc */ -/* Description: This is a callback function for the BPy_rgbTuple type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void rgbTuple_dealloc( BPy_rgbTuple * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: rgbTuple_getAttr */ /* Description: This is a callback function for the BPy_rgbTuple type. It is */ /* the function that accesses BPy_rgbTuple member variables and */ |