diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-04 20:06:39 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-04 20:06:39 +0400 |
commit | 82e1783dcb9397de1b83dff1186fccc15707531f (patch) | |
tree | 159065c0dc14e2a688e498f765bce02317250c95 /source/blender/python/api2_2x/Ipo.h | |
parent | 28b8e667a0c2ef77dd862bc40909d089a96d1324 (diff) |
Following Willian's proposal,deleted the print function, which caused crashes.
The objects are now printed with the repr function.
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.h')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Ipo.h b/source/blender/python/api2_2x/Ipo.h index 602e8cc4b14..6418801cc12 100644 --- a/source/blender/python/api2_2x/Ipo.h +++ b/source/blender/python/api2_2x/Ipo.h @@ -144,7 +144,7 @@ static PyMethodDef C_Ipo_methods[] = { /* Python Ipo_Type callback function prototypes: */ /*****************************************************************************/ static void IpoDeAlloc (C_Ipo *self); -static int IpoPrint (C_Ipo *self, FILE *fp, int flags); +//static int IpoPrint (C_Ipo *self, FILE *fp, int flags); static int IpoSetAttr (C_Ipo *self, char *name, PyObject *v); static PyObject *IpoGetAttr (C_Ipo *self, char *name); static PyObject *IpoRepr (C_Ipo *self); @@ -161,7 +161,7 @@ PyTypeObject Ipo_Type = 0, /* tp_itemsize */ /* methods */ (destructor)IpoDeAlloc, /* tp_dealloc */ - (printfunc)IpoPrint, /* tp_print */ + 0, /* tp_print */ (getattrfunc)IpoGetAttr, /* tp_getattr */ (setattrfunc)IpoSetAttr, /* tp_setattr */ 0, /* tp_compare */ |