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/Text.c | |
parent | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff) |
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Text.c')
-rw-r--r-- | source/blender/python/api2_2x/Text.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Text.c b/source/blender/python/api2_2x/Text.c index 210cb84f217..23db85f7b36 100644 --- a/source/blender/python/api2_2x/Text.c +++ b/source/blender/python/api2_2x/Text.c @@ -124,7 +124,6 @@ static PyMethodDef BPy_Text_methods[] = { /*****************************************************************************/ /* Python Text_Type callback function prototypes: */ /*****************************************************************************/ -static void Text_dealloc( BPy_Text * self ); static int Text_compare( BPy_Text * a, BPy_Text * b ); static PyObject *Text_repr( BPy_Text * self ); @@ -460,16 +459,6 @@ static PyObject *Text_asLines( BPy_Text * self ) } /*****************************************************************************/ -/* Function: Text_dealloc */ -/* Description: This is a callback function for the BPy_Text type. It is */ -/* the destructor function. */ -/*****************************************************************************/ -static void Text_dealloc( BPy_Text * self ) -{ - PyObject_DEL( self ); -} - -/*****************************************************************************/ /* Function: Text_compare */ /* Description: This is a callback function for the BPy_Text type. It */ /* compares two Text_Type objects. Only the "==" and "!=" */ @@ -528,7 +517,7 @@ PyTypeObject Text_Type = { sizeof( BPy_Text ), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - ( destructor ) Text_dealloc, /* tp_dealloc */ + NULL, /* tp_dealloc */ NULL, /* tp_print */ NULL, /* tp_getattr */ NULL, /* tp_setattr */ |