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/Armature.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/Armature.h')
-rw-r--r-- | source/blender/python/api2_2x/Armature.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Armature.h b/source/blender/python/api2_2x/Armature.h index b2fa9611daf..32c4f3648ac 100644 --- a/source/blender/python/api2_2x/Armature.h +++ b/source/blender/python/api2_2x/Armature.h @@ -132,7 +132,6 @@ static PyObject *Armature_getAttr (BPy_Armature *armature, char *name); static int Armature_setAttr (BPy_Armature *armature, char *name, PyObject *v); static int Armature_compare (BPy_Armature *a1, BPy_Armature *a2); static PyObject *Armature_repr (BPy_Armature *armature); -static int Armature_print (BPy_Armature *armature, FILE *fp, int flags); /*****************************************************************************/ /* Python TypeArmature structure definition: */ @@ -146,7 +145,7 @@ PyTypeObject Armature_Type = 0, /* tp_itemsize */ /* methods */ (destructor)Armature_dealloc, /* tp_dealloc */ - (printfunc)Armature_print, /* tp_print */ + 0, /* tp_print */ (getattrfunc)Armature_getAttr, /* tp_getattr */ (setattrfunc)Armature_setAttr, /* tp_setattr */ (cmpfunc)Armature_compare, /* tp_compare */ |