mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-04-20 16:27:46 +03:00
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt: added libxslt_xsltCleanup() added parameters to libxslt_xsltApplyStylesheet() removed the memleaks left and fixed an import order. * python/tests/basic.py python/tests/extfunc.py: updated the tests Daniel
44 lines
2.1 KiB
XML
44 lines
2.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<api name='libxslt-python'>
|
|
<files>
|
|
<file name='python'>
|
|
</file>
|
|
</files>
|
|
<symbols>
|
|
<function name='xsltApplyStylesheet' file='python'>
|
|
<info>Apply the stylesheet to the document</info>
|
|
<return type='xmlDocPtr' info="the result document or NULL in case of error"/>
|
|
<arg name='style' type='xsltStylesheetPtr' info='a parsed XSLT stylesheet'/>
|
|
<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='xsltCleanup' file='python'>
|
|
<info>Cleanup all libxslt and libxml2 memory allocated</info>
|
|
<return type='void'/>
|
|
</function>
|
|
<!--
|
|
<function name='xsltRegisterXPathFunction' 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>
|
|
<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>
|
|
-->
|
|
</symbols>
|
|
</api>
|