author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-05-22 04:30:31 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-05-22 04:30:31 UTC |
parent | 1eb108d7d209537ce606b21d110831514b238f30 |
bindings/python/fiu_ll.c | +2 | -2 |
diff --git a/bindings/python/fiu_ll.c b/bindings/python/fiu_ll.c index 59e3b16..c1f5844 100644 --- a/bindings/python/fiu_ll.c +++ b/bindings/python/fiu_ll.c @@ -138,7 +138,7 @@ static PyObject *enable_external(PyObject *self, PyObject *args) unsigned int flags; PyObject *py_external_cb; - if (!PyArg_ParseTuple(args, "siIO:enable_random", &name, &failnum, + if (!PyArg_ParseTuple(args, "siIO:enable_external", &name, &failnum, &flags, &py_external_cb)) return NULL; @@ -162,7 +162,7 @@ static PyObject *disable(PyObject *self, PyObject *args) { char *name; - if (!PyArg_ParseTuple(args, "s:fail", &name)) + if (!PyArg_ParseTuple(args, "s:disable", &name)) return NULL; return PyLong_FromLong(fiu_disable(name));