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/CurNurb.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/CurNurb.c')
-rw-r--r-- | source/blender/python/api2_2x/CurNurb.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/CurNurb.c b/source/blender/python/api2_2x/CurNurb.c index da551307d83..b244d24e37f 100644 --- a/source/blender/python/api2_2x/CurNurb.c +++ b/source/blender/python/api2_2x/CurNurb.c @@ -77,7 +77,6 @@ char M_CurNurb_doc[] = "CurNurb"; CurNurb_Type callback function prototypes: */ -static void CurNurb_dealloc( BPy_CurNurb * self ); static int CurNurb_compare( BPy_CurNurb * a, BPy_CurNurb * b ); static PyObject *CurNurb_repr( BPy_CurNurb * self ); @@ -207,8 +206,8 @@ PyTypeObject CurNurb_Type = { /* Methods to implement standard operations */ - ( destructor ) CurNurb_dealloc, /* destructor tp_dealloc; */ - NULL, /* printfunc tp_print; */ + NULL, /* destructor tp_dealloc; */ + NULL, /* printfunc tp_print; */ NULL, /* getattrfunc tp_getattr; */ NULL, /* setattrfunc tp_setattr; */ ( cmpfunc ) CurNurb_compare, /* cmpfunc tp_compare; */ @@ -279,11 +278,6 @@ PyTypeObject CurNurb_Type = { 0 }; -void CurNurb_dealloc( BPy_CurNurb * self ) -{ - PyObject_DEL( self ); -} - /* compare in this case, we consider two CurNurbs equal, if they point to the same |