Daniel Veillard | d2897fd | 2002-01-30 16:37:32 +0000 | [diff] [blame] | 1 | #include <libxml/tree.h> |
| 2 | #include <libxml/parser.h> |
| 3 | #include <libxml/parserInternals.h> |
| 4 | #include <libxml/catalog.h> |
| 5 | #include <libxml/threads.h> |
| 6 | #include <libxml/nanoftp.h> |
| 7 | #include <libxml/nanohttp.h> |
| 8 | #include <libxml/uri.h> |
| 9 | #include <libxml/xpath.h> |
| 10 | #include <libxml/xpathInternals.h> |
| 11 | #include <libxml/debugXML.h> |
Daniel Veillard | 96fe095 | 2002-01-30 20:52:23 +0000 | [diff] [blame] | 12 | #include <libxml/HTMLparser.h> |
| 13 | #include <libxml/HTMLtree.h> |
| 14 | #include <libxml/xinclude.h> |
Daniel Veillard | 1971ee2 | 2002-01-31 20:29:19 +0000 | [diff] [blame] | 15 | #include <libxml/xpointer.h> |
Daniel Veillard | 96fe095 | 2002-01-30 20:52:23 +0000 | [diff] [blame] | 16 | |
| 17 | #define PyxmlNode_Get(v) (((PyxmlNode_Object *)(v))->obj) |
| 18 | |
| 19 | typedef struct { |
| 20 | PyObject_HEAD |
| 21 | xmlNodePtr obj; |
| 22 | } PyxmlNode_Object; |
Daniel Veillard | d2897fd | 2002-01-30 16:37:32 +0000 | [diff] [blame] | 23 | |
Daniel Veillard | 1971ee2 | 2002-01-31 20:29:19 +0000 | [diff] [blame] | 24 | #define PyxmlXPathContext_Get(v) (((PyxmlXPathContext_Object *)(v))->obj) |
| 25 | typedef struct { |
| 26 | PyObject_HEAD |
| 27 | xmlXPathContextPtr obj; |
| 28 | } PyxmlXPathContext_Object; |
| 29 | |
Daniel Veillard | d2897fd | 2002-01-30 16:37:32 +0000 | [diff] [blame] | 30 | PyObject * libxml_intWrap(int val); |
Daniel Veillard | 1971ee2 | 2002-01-31 20:29:19 +0000 | [diff] [blame] | 31 | PyObject * libxml_xmlCharPtrWrap(xmlChar *str); |
| 32 | PyObject * libxml_constxmlCharPtrWrap(const xmlChar *str); |
| 33 | PyObject * libxml_charPtrWrap(char *str); |
| 34 | PyObject * libxml_constcharPtrWrap(const char *str); |
Daniel Veillard | d2897fd | 2002-01-30 16:37:32 +0000 | [diff] [blame] | 35 | PyObject * libxml_xmlDocPtrWrap(xmlDocPtr doc); |
| 36 | PyObject * libxml_xmlNodePtrWrap(xmlNodePtr node); |
| 37 | PyObject * libxml_xmlAttrPtrWrap(xmlAttrPtr attr); |
Daniel Veillard | 1971ee2 | 2002-01-31 20:29:19 +0000 | [diff] [blame] | 38 | PyObject * libxml_xmlNsPtrWrap(xmlNsPtr ns); |
| 39 | PyObject * libxml_xmlAttributePtrWrap(xmlAttributePtr ns); |
| 40 | PyObject * libxml_xmlElementPtrWrap(xmlElementPtr ns); |
Daniel Veillard | 96fe095 | 2002-01-30 20:52:23 +0000 | [diff] [blame] | 41 | PyObject * libxml_doubleWrap(double val); |
Daniel Veillard | 1971ee2 | 2002-01-31 20:29:19 +0000 | [diff] [blame] | 42 | PyObject * libxml_xmlXPathContextPtrWrap(xmlXPathContextPtr ctxt); |
| 43 | PyObject * libxml_xmlXPathObjectPtrWrap(xmlXPathObjectPtr obj); |
Daniel Veillard | 96fe095 | 2002-01-30 20:52:23 +0000 | [diff] [blame] | 44 | |