1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-17 18:21:05 +03:00

more work on the python bindings. Daniel

* python/generator.py python/libxml.c python/libxml_wrap.h:
  more work on the python bindings.
Daniel
This commit is contained in:
Daniel Veillard
2002-01-30 20:52:23 +00:00
parent d2897fde00
commit 96fe095d4b
4 changed files with 131 additions and 21 deletions

View File

@ -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);