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/charRGBA.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/charRGBA.c')
-rw-r--r-- | source/blender/python/api2_2x/charRGBA.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/charRGBA.c b/source/blender/python/api2_2x/charRGBA.c index 76897088166..35ff546d0d5 100644 --- a/source/blender/python/api2_2x/charRGBA.c +++ b/source/blender/python/api2_2x/charRGBA.c @@ -39,7 +39,6 @@ /*****************************************************************************/ /* Python charRGBA_Type callback function prototypes: */ /*****************************************************************************/ -static void charRGBA_dealloc( BPy_charRGBA * self ); static PyObject *charRGBA_getAttr( BPy_charRGBA * self, char *name ); static int charRGBA_setAttr( BPy_charRGBA * self, char *name, PyObject * v ); static PyObject *charRGBA_repr( BPy_charRGBA * self ); @@ -88,7 +87,7 @@ PyTypeObject charRGBA_Type = { sizeof( BPy_charRGBA ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) charRGBA_dealloc, /* tp_dealloc */ + NULL, /* tp_dealloc */ 0, /* tp_print */ ( getattrfunc ) charRGBA_getAttr, /* tp_getattr */ ( setattrfunc ) charRGBA_setAttr, /* tp_setattr */ @@ -177,16 +176,6 @@ PyObject *charRGBA_setCol( BPy_charRGBA * self, PyObject * args ) } /*****************************************************************************/ -/* Function: charRGBA_dealloc */ -/* Description: This is a callback function for the BPy_charRGBA type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void charRGBA_dealloc( BPy_charRGBA * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: charRGBA_getAttr */ /* Description: This is a callback function for the BPy_charRGBA type. It is */ /* the function that accesses BPy_charRGBA member variables and */ |