diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-04 18:51:53 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-04 18:51:53 +0000 |
commit | 0e33797b05d8066b62301134a28599a1a0d1a91c (patch) | |
tree | 4800ae97756a6980e30ae8656a09ff958726f250 /python/libxslt_wrap.h | |
parent | e12eb0661983d9f2208d3b83c59e190173975d8e (diff) | |
download | libxslt-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.h | 38 |
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); |