summaryrefslogtreecommitdiff
path: root/python/libxslt_wrap.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-02-04 18:51:53 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-02-04 18:51:53 +0000
commit0e33797b05d8066b62301134a28599a1a0d1a91c (patch)
tree4800ae97756a6980e30ae8656a09ff958726f250 /python/libxslt_wrap.h
parente12eb0661983d9f2208d3b83c59e190173975d8e (diff)
downloadlibxslt-0e33797b05d8066b62301134a28599a1a0d1a91c.tar.gz
libxslt-0e33797b05d8066b62301134a28599a1a0d1a91c.tar.bz2
libxslt-0e33797b05d8066b62301134a28599a1a0d1a91c.zip
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
Diffstat (limited to 'python/libxslt_wrap.h')
-rw-r--r--python/libxslt_wrap.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/python/libxslt_wrap.h b/python/libxslt_wrap.h
new file mode 100644
index 00000000..b03b6339
--- /dev/null
+++ b/python/libxslt_wrap.h
@@ -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);