bugfix #1345. Curve.isNurb() segfault fixed.

This commit is contained in:
Stephen Swaney 2004-06-03 16:23:51 +00:00
parent 630de827d7
commit 2b7e35b8e7

@ -177,11 +177,10 @@ Sets a control point "},
METH_NOARGS, "() - Gets curve size"},
{"setSize", (PyCFunction) Curve_setSize,
METH_VARARGS, "(3-tuple) - Sets curve size"},
{"getNumCurves", (PyCFunction) Curve_getNumCurves,
METH_NOARGS, "() - Gets # of curves"},
{"isNurb", (PyCFunction) Curve_isNurb,
METH_NOARGS,
"(nothing or integer) - returns 1 or 0, depending upon the curve being a Nurb"},
{"getNumCurves", ( PyCFunction ) Curve_getNumCurves,
METH_NOARGS, "() - Gets number of curves in Curve"},
{"isNurb", ( PyCFunction ) Curve_isNurb,
METH_VARARGS, "(nothing or integer) - returns 1 if curve is type Nurb, O otherwise."},
{"getNumPoints", (PyCFunction) Curve_getNumPoints,
METH_VARARGS,
"(nothing or integer) - returns the number of points of the specified curve"},