Progressing through the TODOs, class description output, extra XML API,
* libxml.spec.in python/Makefile.am python/TODO python/generator.py
python/libxml.c python/libxml2-python-api.xml
python/libxml2class.txt: Progressing through the TODOs, class
description output, extra XML API, RPM now builds the wrappers
for all python installed versions
Daniel
diff --git a/python/libxml2-python-api.xml b/python/libxml2-python-api.xml
new file mode 100644
index 0000000..29dca23
--- /dev/null
+++ b/python/libxml2-python-api.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<api name='libxml2-python'>
+ <files>
+ <file name='python'>
+ <exports symbol='libxml_registerXPathFunction'/>
+ </file>
+ </files>
+ <symbols>
+ <function name='xmlRegisterXPathFunction' file='python'>
+ <info>Register a Python written function to the XPath interpreter</info>
+ <return type='int' info="1 in case of success, 0 or -1 in case of error"/>
+ <arg name='ctx' type='xmlXPathContextPtr' info='the xpathContext'/>
+ <arg name='name' type='xmlChar *' info='the function name'/>
+ <arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
+ <arg name='f' type='pythonObject' info='the python function'/>
+ </function>
+ </symbols>
+</api>