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

@@ -229,7 +229,6 @@ static PySequenceMethods Ipo_as_sequence = {
/*****************************************************************************/
/* Python Ipo_Type callback function prototypes: */
/*****************************************************************************/
static void Ipo_dealloc( BPy_Ipo * self );
/*static int IpoPrint (BPy_Ipo *self, FILE *fp, int flags);*/
static int Ipo_compare( BPy_Ipo * a, BPy_Ipo * b );
static PyObject *Ipo_repr( BPy_Ipo * self );
@@ -365,7 +364,7 @@ PyTypeObject Ipo_Type = {
/* Methods to implement standard operations */
( destructor ) Ipo_dealloc,/* destructor tp_dealloc; */
NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
@@ -1267,16 +1266,6 @@ static int Ipo_setChannel( BPy_Ipo * self, PyObject * value )
return 0;
}
/*****************************************************************************/
/* Function: Ipo_dealloc */
/* Description: This is a callback function for the BPy_Ipo type. It is */
/* the destructor function. */
/*****************************************************************************/
static void Ipo_dealloc( BPy_Ipo * self )
{
PyObject_DEL( self );
}
/*****************************************************************************/
/* Function: Ipo_compare */
/* Description: This compares 2 ipo python types, == or != only. */