mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-05 23:35:48 +03:00
patch from Sean Treadway, adding Python bindings for extension element and
* python/generator.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt: patch from Sean Treadway, adding Python bindings for extension element and some bindings cleanups. * python/tests/Makefile.am python/tests/extelem.py: also add an example/test. Daniel
This commit is contained in:
@@ -34,5 +34,16 @@ typedef struct {
|
||||
xsltTransformContextPtr obj;
|
||||
} PytransformCtxt_Object;
|
||||
|
||||
#define PycompiledStyle_Get(v) (((v) == Py_None) ? NULL : \
|
||||
(((PycompiledStyle_Object *)(v))->obj))
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
xsltTransformContextPtr obj;
|
||||
} PycompiledStyle_Object;
|
||||
|
||||
|
||||
PyObject * libxslt_xsltStylesheetPtrWrap(xsltStylesheetPtr ctxt);
|
||||
PyObject * libxslt_xsltTransformContextPtrWrap(xsltTransformContextPtr ctxt);
|
||||
PyObject * libxslt_xsltStylePreCompPtrWrap(xsltStylePreCompPtr comp);
|
||||
PyObject * libxslt_xsltElemPreCompPtrWrap(xsltElemPreCompPtr comp);
|
||||
|
Reference in New Issue
Block a user