*** empty log message ***

This commit is contained in:
Dave Goodwin
2007-04-25 00:08:11 +00:00
parent 6d9a1aa4bd
commit b30a0ee8f1
36 changed files with 1081 additions and 1057 deletions

View File

@@ -25,6 +25,17 @@ py_func_newcombo(PyObject *self, PyObject *args)
return Py_BuildValue("i",nn);
}
static PyObject*
py_func_derivative(PyObject *self, PyObject *args)
{
int type, n, m;
if (!PyArg_ParseTuple(args, "i:func_derivative", &n))
return NULL;
int nn = func_derivative(n);
if (nn < 0) return reportError(nn);
return Py_BuildValue("i",nn);
}
static PyObject*
py_func_del(PyObject *self, PyObject *args)
{

View File

@@ -259,6 +259,7 @@ static PyMethodDef ct_methods[] = {
{"func_new", py_func_new, METH_VARARGS},
{"func_newcombo", py_func_newcombo, METH_VARARGS},
{"func_derivative", py_func_derivative, METH_VARARGS},
{"func_del", py_func_del, METH_VARARGS},
{"func_value", py_func_value, METH_VARARGS},