aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentb6b2ee1a409bcb60be01dd74867a460eeec450e7 (diff)
downloadandroid_external_libxml2-438ebbd59af78c436397ae488e42aeca5cad7542.tar.gz
android_external_libxml2-438ebbd59af78c436397ae488e42aeca5cad7542.tar.bz2
android_external_libxml2-438ebbd59af78c436397ae488e42aeca5cad7542.zip
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 'include')
-rw-r--r--include/libxml/xmlreader.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/include/libxml/xmlreader.h b/include/libxml/xmlreader.h
index f45d377e..69644825 100644
--- a/include/libxml/xmlreader.h
+++ b/include/libxml/xmlreader.h
@@ -18,13 +18,26 @@
#include <libxml/xmlschemas.h>
#endif
-#ifdef LIBXML_READER_ENABLED
-
#ifdef __cplusplus
extern "C" {
#endif
/**
+ * xmlParserSeverities:
+ *
+ * How severe an error callback is when the per-reader error callback API
+ * is used.
+ */
+typedef enum {
+ XML_PARSER_SEVERITY_VALIDITY_WARNING = 1,
+ XML_PARSER_SEVERITY_VALIDITY_ERROR = 2,
+ XML_PARSER_SEVERITY_WARNING = 3,
+ XML_PARSER_SEVERITY_ERROR = 4
+} xmlParserSeverities;
+
+#ifdef LIBXML_READER_ENABLED
+
+/**
* xmlTextReaderMode:
*
* Internal state values for the reader.
@@ -53,19 +66,6 @@ typedef enum {
} xmlParserProperties;
/**
- * xmlParserSeverities:
- *
- * How severe an error callback is when the per-reader error callback API
- * is used.
- */
-typedef enum {
- XML_PARSER_SEVERITY_VALIDITY_WARNING = 1,
- XML_PARSER_SEVERITY_VALIDITY_ERROR = 2,
- XML_PARSER_SEVERITY_WARNING = 3,
- XML_PARSER_SEVERITY_ERROR = 4
-} xmlParserSeverities;
-
-/**
* xmlReaderTypes:
*
* Predefined constants for the different types of nodes.
@@ -414,11 +414,11 @@ XMLPUBFUN void XMLCALL
xmlTextReaderErrorFunc *f,
void **arg);
+#endif /* LIBXML_READER_ENABLED */
+
#ifdef __cplusplus
}
#endif
-#endif /* LIBXML_READER_ENABLED */
-
#endif /* __XML_XMLREADER_H__ */