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/Curve.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Curve.c')
-rw-r--r-- | source/blender/python/api2_2x/Curve.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Curve.c b/source/blender/python/api2_2x/Curve.c index d32fac3139f..50dc663d439 100644 --- a/source/blender/python/api2_2x/Curve.c +++ b/source/blender/python/api2_2x/Curve.c @@ -1208,16 +1208,6 @@ PyObject *Curve_getNurb( BPy_Curve * self, int n ) } /*****************************************************************************/ -/* Function: Curve_dealloc */ -/* Description: This is a callback function for the BPy_Curve type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Curve_dealloc( BPy_Curve * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: Curve_compare */ /* Description: This compares 2 curve python types, == or != only. */ /*****************************************************************************/ @@ -1528,7 +1518,6 @@ Sets a control point "}, /*****************************************************************************/ /* Python Curve_Type callback function prototypes: */ /*****************************************************************************/ -static void Curve_dealloc( BPy_Curve * msh ); static int Curve_compare( BPy_Curve * a, BPy_Curve * b ); static PyObject *Curve_repr( BPy_Curve * msh ); @@ -1555,7 +1544,7 @@ PyTypeObject Curve_Type = { sizeof( BPy_Curve ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) Curve_dealloc, /* tp_dealloc */ + NULL, /* tp_dealloc */ 0, /* tp_print */ ( getattrfunc ) NULL, /* tp_getattr */ ( setattrfunc ) NULL, /* tp_setattr */ |