diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-05 05:18:41 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-05 05:18:41 +0400 |
commit | aa820ec42094c2799ca618d3ee174993358c9573 (patch) | |
tree | 41a122e1c1abf87dbe0911548568c1301a277cf2 /source/blender/python/api2_2x/Text.h | |
parent | 20df091c042be721fae0cac911844d603f1dd140 (diff) |
Exppython:
- Continued getting rid of print methods and updating repr ones:
Needed to fix crashes on Windows >= 98 systems.
- Found and fixed a few small memory leaks in EXPP_interface, related to
execution of script links.
Diffstat (limited to 'source/blender/python/api2_2x/Text.h')
-rw-r--r-- | source/blender/python/api2_2x/Text.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text.h b/source/blender/python/api2_2x/Text.h index b2ce00c1253..68819c641dd 100644 --- a/source/blender/python/api2_2x/Text.h +++ b/source/blender/python/api2_2x/Text.h @@ -144,7 +144,6 @@ static PyMethodDef BPy_Text_methods[] = { /* Python Text_Type callback function prototypes: */ /*****************************************************************************/ static void Text_dealloc (BPy_Text *self); -static int Text_print (BPy_Text *self, FILE *fp, int flags); static int Text_setAttr (BPy_Text *self, char *name, PyObject *v); static PyObject *Text_getAttr (BPy_Text *self, char *name); static int Text_compare (BPy_Text *a, BPy_Text *b); @@ -162,7 +161,7 @@ PyTypeObject Text_Type = 0, /* tp_itemsize */ /* methods */ (destructor)Text_dealloc, /* tp_dealloc */ - (printfunc)Text_print, /* tp_print */ + 0, /* tp_print */ (getattrfunc)Text_getAttr, /* tp_getattr */ (setattrfunc)Text_setAttr, /* tp_setattr */ (cmpfunc)Text_compare, /* tp_compare */ |