mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-04-20 16:27:46 +03:00
* libxslt/pattern.[ch] doc/libxslt-api.xml doc/libxslt-refs.xml: reactivated xsltMatchPattern() since this is really something one may want to have access to in an extension function. * Makefile.am configure.in python/Makefile.am python/generator.py python/libxml_wrap.h python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt python/types.c: started working on the python bindings, borrowed most of the work done for libxml2, most of the generator code is similar. Commit at the point where this compiles cleanly and "import libxslt" doesn't yield any missing entry point. Daniel
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<api name='libxslt-python'>
|
|
<files>
|
|
<file name='python'>
|
|
</file>
|
|
</files>
|
|
<symbols>
|
|
<!--
|
|
<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>
|