mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-17 18:21:05 +03:00
commiting some Python bindings work done while travelling Daniel
* python/*: commiting some Python bindings work done while travelling Daniel
This commit is contained in:
@ -1,10 +1,5 @@
|
||||
<?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>
|
||||
@ -14,6 +9,11 @@
|
||||
<arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
|
||||
<arg name='f' type='pythonObject' info='the python function'/>
|
||||
</function>
|
||||
<function name='xmlNewNode' file='python'>
|
||||
<info>Create a new Node</info>
|
||||
<return type='xmlNodePtr' info="A new element node"/>
|
||||
<arg name='name' type='xmlChar *' info='the node name'/>
|
||||
</function>
|
||||
<function name='xmlRegisterErrorHandler' file='python'>
|
||||
<info>Register a Python written function to for error reporting. The function is called back as f(ctx, error).</info>
|
||||
<return type='int' info="1 in case of success, 0 or -1 in case of error"/>
|
||||
|
Reference in New Issue
Block a user