mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-17 18:21:05 +03:00
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
This commit is contained in:
18
python/libxml2-python-api.xml
Normal file
18
python/libxml2-python-api.xml
Normal file
@ -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>
|
Reference in New Issue
Block a user