removed unneeded dealloc functions
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user