1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

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
This commit is contained in:
Daniel Veillard
2008-05-12 12:58:46 +00:00
parent b6b2ee1a40
commit 438ebbd59a
39 changed files with 253 additions and 156 deletions

View File

@@ -18,12 +18,25 @@
#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:
*
@@ -52,19 +65,6 @@ typedef enum {
XML_PARSER_SUBST_ENTITIES = 4
} 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:
*
@@ -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__ */