mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-04 12:22:09 +03:00
tried to fix #79105 by providing a specific error registering routine.
* python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt : tried to fix #79105 by providing a specific error registering routine. Daniel
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
|
||||
<arg name='params' type='pythonObject' info='the parameters dictionnary'/>
|
||||
</function>
|
||||
<function name='xsltRegisterErrorHandler' 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>
|
||||
<function name='xsltRegisterExtModuleFunction' file='python'>
|
||||
<info>Register a Python written function to the XSLT engine</info>
|
||||
<return type='int' info="0 in case of success, -1 in case of error"/>
|
||||
|
Reference in New Issue
Block a user