Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-15 04:47:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-15 04:47:53 +0300
commit52e43441d123d8ec74dbdf0de6ab97fc30904184 (patch)
tree05b05f7e800bd8402392530c457c3e438341907b /source/blender/python/api2_2x/Font.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Font.c')
-rw-r--r--source/blender/python/api2_2x/Font.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Font.c b/source/blender/python/api2_2x/Font.c
index 2603326a68d..6c46e54cfd8 100644
--- a/source/blender/python/api2_2x/Font.c
+++ b/source/blender/python/api2_2x/Font.c
@@ -80,7 +80,6 @@ static PyMethodDef BPy_Font_methods[] = {
};
/*--------------- Python TypeFont callback function prototypes----------*/
-static void Font_dealloc( BPy_Font * font );
static int Font_compare( BPy_Font * a1, BPy_Font * a2 );
static PyObject *Font_repr( BPy_Font * font );
@@ -274,7 +273,7 @@ PyTypeObject Font_Type = {
/* Methods to implement standard operations */
- ( destructor ) Font_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
@@ -368,12 +367,6 @@ PyObject *Font_Init( void )
/*--------------- Font module internal callbacks-----------------*/
/*---------------BPy_Font internal callbacks/methods-------------*/
-//--------------- dealloc------------------------------------------
-static void Font_dealloc( BPy_Font * self )
-{
- PyObject_DEL( self );
-}
-
/*--------------- repr---------------------------------------------*/
static PyObject *Font_repr( BPy_Font * self )
{