|
version 1.1, 2012/02/21 23:38:00
|
version 1.1.1.2, 2013/07/22 01:22:29
|
|
Line 28
|
Line 28
|
| #include "libxml_wrap.h" |
#include "libxml_wrap.h" |
| #include "libxml2-py.h" |
#include "libxml2-py.h" |
| |
|
| #if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf) | #if defined(_MSC_VER) && !defined(vsnprintf) |
| #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) |
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) |
| #elif defined(WITH_TRIO) && !defined(vsnprintf) |
#elif defined(WITH_TRIO) && !defined(vsnprintf) |
| #include "trio.h" |
#include "trio.h" |
|
Line 1745 typedef struct
|
Line 1745 typedef struct
|
| typedef xmlValidCtxtPyCtxt *xmlValidCtxtPyCtxtPtr; |
typedef xmlValidCtxtPyCtxt *xmlValidCtxtPyCtxtPtr; |
| |
|
| static void |
static void |
| libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx, int severity, char *str) | libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx, ATTRIBUTE_UNUSED int severity, char *str) |
| { |
{ |
| PyObject *list; |
PyObject *list; |
| PyObject *result; |
PyObject *result; |
|
Line 1772 libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx,
|
Line 1772 libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx,
|
| } |
} |
| |
|
| static void |
static void |
| libxml_xmlValidCtxtGenericWarningFuncHandler(void *ctx, int severity, char *str) | libxml_xmlValidCtxtGenericWarningFuncHandler(void *ctx, ATTRIBUTE_UNUSED int severity, char *str) |
| { |
{ |
| PyObject *list; |
PyObject *list; |
| PyObject *result; |
PyObject *result; |
|
Line 2762 libxml_serializeNode(ATTRIBUTE_UNUSED PyObject * self,
|
Line 2762 libxml_serializeNode(ATTRIBUTE_UNUSED PyObject * self,
|
| xmlDocPtr doc; |
xmlDocPtr doc; |
| const char *encoding; |
const char *encoding; |
| int format; |
int format; |
| int len; |
|
| xmlSaveCtxtPtr ctxt; |
xmlSaveCtxtPtr ctxt; |
| xmlBufferPtr buf; |
xmlBufferPtr buf; |
| int options = 0; |
int options = 0; |