deleted print function, which caused crashes.

Objects are printed with the repr function.
This commit is contained in:
2003-07-04 16:09:34 +00:00
parent 82e1783dcb
commit 19ac604c47
2 changed files with 5 additions and 3 deletions

View File

@@ -178,7 +178,7 @@ Sets a control point "},
/* Python Curve_Type callback function prototypes: */
/*****************************************************************************/
static void CurveDeAlloc (BPy_Curve *msh);
static int CurvePrint (BPy_Curve *msh, FILE *fp, int flags);
//static int CurvePrint (BPy_Curve *msh, FILE *fp, int flags);
static int CurveSetAttr (BPy_Curve *msh, char *name, PyObject *v);
static PyObject *CurveGetAttr (BPy_Curve *msh, char *name);
static PyObject *CurveRepr (BPy_Curve *msh);
@@ -199,7 +199,7 @@ PyTypeObject Curve_Type =
0, /* tp_itemsize */
/* methods */
(destructor)CurveDeAlloc, /* tp_dealloc */
(printfunc)CurvePrint, /* tp_print */
0, /* tp_print */
(getattrfunc)CurveGetAttr, /* tp_getattr */
(setattrfunc)CurveSetAttr, /* tp_setattr */
0, /* tp_compare */