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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user