mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-06-15 10:41:43 +03:00
plugged the extension of the engine with python defined functions added a
* python/libxlst.c python/libxslt-python-api.xml python/libxsltclass.txt: plugged the extension of the engine with python defined functions * python/tests/Makefile.am python/tests/extfunc.py: added a basic test, still a memleak, cleanup function needed. Daniel
This commit is contained in:
@ -12,6 +12,13 @@
|
||||
<arg name='doc' type='xmlDocPtr' info='a parsed XML document'/>
|
||||
<arg name='params' type='pythonObject' info='the parameters dictionnary'/>
|
||||
</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"/>
|
||||
<arg name='name' type='xmlChar *' info='the function name'/>
|
||||
<arg name='URI' type='xmlChar *' info='the namespace or NULL'/>
|
||||
<arg name='f' type='pythonObject' info='the python function'/>
|
||||
</function>
|
||||
<!--
|
||||
<function name='xsltRegisterXPathFunction' file='python'>
|
||||
<info>Register a Python written function to the XPath interpreter</info>
|
||||
|
Reference in New Issue
Block a user