diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-01-30 20:52:23 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-01-30 20:52:23 +0000 |
commit | 96fe095d4bf3c76301ed58ebe1ba10f8004f87ef (patch) | |
tree | 5cbc82708653ebcee615a8504d2d5538200630c3 /python/libxml_wrap.h | |
parent | d2897fde0089a9f349f7a589c1e58a8e130a3d61 (diff) | |
download | libxml2-96fe095d4bf3c76301ed58ebe1ba10f8004f87ef.tar.gz |
more work on the python bindings. Daniel
* python/generator.py python/libxml.c python/libxml_wrap.h:
more work on the python bindings.
Daniel
Diffstat (limited to 'python/libxml_wrap.h')
-rw-r--r-- | python/libxml_wrap.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h index a3aca48b..00421f95 100644 --- a/python/libxml_wrap.h +++ b/python/libxml_wrap.h @@ -9,6 +9,16 @@ #include <libxml/xpath.h> #include <libxml/xpathInternals.h> #include <libxml/debugXML.h> +#include <libxml/HTMLparser.h> +#include <libxml/HTMLtree.h> +#include <libxml/xinclude.h> + +#define PyxmlNode_Get(v) (((PyxmlNode_Object *)(v))->obj) + +typedef struct { + PyObject_HEAD + xmlNodePtr obj; +} PyxmlNode_Object; PyObject * libxml_intWrap(int val); PyObject * libxml_xmlCharPtrWrap(const xmlChar *str); @@ -16,3 +26,5 @@ PyObject * libxml_charPtrWrap(const char *str); PyObject * libxml_xmlDocPtrWrap(xmlDocPtr doc); PyObject * libxml_xmlNodePtrWrap(xmlNodePtr node); PyObject * libxml_xmlAttrPtrWrap(xmlAttrPtr attr); +PyObject * libxml_doubleWrap(double val); + |