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/Ipocurve.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Ipocurve.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipocurve.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c index 5a45d9f3485..1d9477c9802 100644 --- a/source/blender/python/api2_2x/Ipocurve.c +++ b/source/blender/python/api2_2x/Ipocurve.c @@ -192,7 +192,6 @@ static PyMappingMethods IpoCurve_as_mapping = { /*****************************************************************************/ static int IpoCurve_compare( C_IpoCurve * a, C_IpoCurve * b ); static PyObject *IpoCurve_repr( C_IpoCurve * self ); -static void IpoCurve_dealloc( C_IpoCurve * self ); /*****************************************************************************/ /* Python IpoCurve_Type structure definition: */ @@ -204,7 +203,7 @@ PyTypeObject IpoCurve_Type = { sizeof( C_IpoCurve ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) IpoCurve_dealloc, /* tp_dealloc */ + NULL, /* tp_dealloc */ 0, /* tp_print */ ( getattrfunc ) NULL, /* tp_getattr */ ( setattrfunc ) NULL, /* tp_setattr */ @@ -652,17 +651,6 @@ static PyObject *IpoCurve_getPoints( C_IpoCurve * self ) } /*****************************************************************************/ -/* Function: Ipo_dealloc */ -/* Description: This is a callback function for the C_IpoCurve type. It is */ -/* the destructor function. */ -/*****************************************************************************/ - -static void IpoCurve_dealloc( C_IpoCurve * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: IpoCurve_compare */ /* Description: This compares 2 python types, == or != only. */ /*****************************************************************************/ |