aboutsummaryrefslogtreecommitdiffstats
path: root/python/libxml2-python-api.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-02-02 21:49:17 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-02-02 21:49:17 +0000
commit5d81903b06418c7d8cc72cf9add81c4026a2f3bc (patch)
treee86f9f36c855882174cf9776116c59d8b8d35fab /python/libxml2-python-api.xml
parent7fd7a94aa812e007842a4a0896bcbfa80ffdc907 (diff)
downloadandroid_external_libxml2-5d81903b06418c7d8cc72cf9add81c4026a2f3bc.tar.gz
android_external_libxml2-5d81903b06418c7d8cc72cf9add81c4026a2f3bc.tar.bz2
android_external_libxml2-5d81903b06418c7d8cc72cf9add81c4026a2f3bc.zip
adding error redirections and preformat to a python handler cleanup made
* python/Makefile.am python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt: adding error redirections and preformat to a python handler * python/tests/Makefile.am python/tests/*.py: cleanup made all tests self checking Daniel
Diffstat (limited to 'python/libxml2-python-api.xml')
-rw-r--r--python/libxml2-python-api.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/libxml2-python-api.xml b/python/libxml2-python-api.xml
index 29dca230..5cdc9920 100644
--- a/python/libxml2-python-api.xml
+++ b/python/libxml2-python-api.xml
@@ -14,5 +14,11 @@
<arg name='ns_uri' type='xmlChar *' info='the namespace or NULL'/>
<arg name='f' type='pythonObject' info='the python function'/>
</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"/>
+ <arg name='f' type='pythonObject' info='the python function'/>
+ <arg name='ctx' type='pythonObject' info='a context for the callback'/>
+ </function>
</symbols>
</api>