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:
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 )
{