summaryrefslogtreecommitdiff
path: root/python/types.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-05-12 12:58:46 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-05-12 12:58:46 +0000
commit438ebbd59af78c436397ae488e42aeca5cad7542 (patch)
tree286979d7e7331bfff71f1f4cdc3f8cf1983e4cb0 /python/types.c
parentb6b2ee1a409bcb60be01dd74867a460eeec450e7 (diff)
downloadlibxml2-438ebbd59af78c436397ae488e42aeca5cad7542.tar.gz
fx compilation when configured without the reader should fix #513110
* xmlschemas.c runtest.c testapi.c include/libxml/xmlreader.h python/types.c python/libxml_wrap.h python/libxml.c: fx compilation when configured without the reader should fix #513110 * doc/*: regenerated Daniel svn path=/trunk/; revision=3743
Diffstat (limited to 'python/types.c')
-rw-r--r--python/types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/types.c b/python/types.c
index 80e43041..54b50de2 100644
--- a/python/types.c
+++ b/python/types.c
@@ -720,6 +720,7 @@ libxml_xmlRegexpPtrWrap(xmlRegexpPtr regexp)
}
#endif /* LIBXML_REGEXP_ENABLED */
+#ifdef LIBXML_READER_ENABLED
PyObject *
libxml_xmlTextReaderPtrWrap(xmlTextReaderPtr reader)
{
@@ -755,6 +756,7 @@ libxml_xmlTextReaderLocatorPtrWrap(xmlTextReaderLocatorPtr locator)
(char *) "xmlTextReaderLocatorPtr", NULL);
return (ret);
}
+#endif /* LIBXML_READER_ENABLED */
#ifdef LIBXML_SCHEMAS_ENABLED
PyObject *