diff --git a/ChangeLog b/ChangeLog index 4e982995..61cb2b64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 2 13:18:54 CET 2002 Daniel Veillard + + * python/libxml.c python/libxml.py: fixed a stupid bug when renaming + a function + Sat Feb 2 11:25:51 CET 2002 Daniel Veillard * libxml.spec.in python/Makefile.am python/TODO python/generator.py diff --git a/python/libxml.c b/python/libxml.c index fcd8df80..efd2a7ad 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -371,7 +371,7 @@ libxml_xpathCallbacksInitialize(void) { } PyObject * -libxml_registerXPathFunction(PyObject *self, PyObject *args) { +libxml_xmlRegisterXPathFunction(PyObject *self, PyObject *args) { PyObject *py_retval; int c_retval = 0; xmlChar *name; @@ -946,7 +946,6 @@ static PyMethodDef libxmlMethods[] = { { "parent", libxml_parent, METH_VARARGS }, { "type", libxml_type, METH_VARARGS }, { "doc", libxml_doc, METH_VARARGS }, - { "registerXPathFunction", libxml_registerXPathFunction, METH_VARARGS } }; void init_libxml(void) { diff --git a/python/libxml.py b/python/libxml.py index 88be5d71..4c8c51c7 100644 --- a/python/libxml.py +++ b/python/libxml.py @@ -145,7 +145,7 @@ def xpathObjectRet(o): # register an XPath function # def registerXPathFunction(ctxt, name, ns_uri, f): - ret = _libxml.registerXPathFunction(ctxt, name, ns_uri, f) + ret = _libxml.xmlRegisterXPathFunction(ctxt, name, ns_uri, f) # # Everything below this point is automatically generated