Commit 7fd7a94a authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixed a stupid bug when renaming a function Daniel

* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
  a function
Daniel
parent 4cf998a6
Sat Feb 2 13:18:54 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
a function
Sat Feb 2 11:25:51 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxml.spec.in python/Makefile.am python/TODO python/generator.py
......
......@@ -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) {
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment