removed unneeded dealloc functions

This commit is contained in:
2007-03-15 01:47:53 +00:00
parent ee5dc4d0bf
commit 52e43441d1
34 changed files with 58 additions and 420 deletions

View File

@@ -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 */
@@ -176,16 +175,6 @@ PyObject *charRGBA_setCol( BPy_charRGBA * self, PyObject * args )
return EXPP_incr_ret( Py_None );
}
/*****************************************************************************/
/* 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 */