mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-16 11:21:50 +03:00
reactivated xsltMatchPattern() since this is really something one may want
* 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
This commit is contained in:
38
python/libxslt_wrap.h
Normal file
38
python/libxslt_wrap.h
Normal file
@ -0,0 +1,38 @@
|
||||
#include "libxml_wrap.h"
|
||||
#include <libxslt/xslt.h>
|
||||
#include <libxslt/xsltInternals.h>
|
||||
#include <libxslt/xsltutils.h>
|
||||
#include <libxslt/attributes.h>
|
||||
#include <libxslt/documents.h>
|
||||
#include <libxslt/extensions.h>
|
||||
#include <libxslt/extra.h>
|
||||
#include <libxslt/functions.h>
|
||||
#include <libxslt/imports.h>
|
||||
#include <libxslt/keys.h>
|
||||
#include <libxslt/namespaces.h>
|
||||
#include <libxslt/numbersInternals.h>
|
||||
#include <libxslt/pattern.h>
|
||||
#include <libxslt/preproc.h>
|
||||
#include <libxslt/templates.h>
|
||||
#include <libxslt/transform.h>
|
||||
#include <libxslt/variables.h>
|
||||
#include <libxslt/xsltconfig.h>
|
||||
|
||||
#define Pystylesheet_Get(v) (((v) == Py_None) ? NULL : \
|
||||
(((Pystylesheet_Object *)(v))->obj))
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
xsltStylesheetPtr obj;
|
||||
} Pystylesheet_Object;
|
||||
|
||||
#define PytransformCtxt_Get(v) (((v) == Py_None) ? NULL : \
|
||||
(((PytransformCtxt_Object *)(v))->obj))
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
xsltTransformContextPtr obj;
|
||||
} PytransformCtxt_Object;
|
||||
|
||||
PyObject * libxslt_xsltTransformContextPtr(xsltTransformContextPtr ctxt);
|
||||
PyObject * libxslt_xsltStylesheetPtr(xsltStylesheetPtr ctxt);
|
Reference in New Issue
Block a user