diff options
author | Aleksey Sanin <aleksey@src.gnome.org> | 2002-05-24 07:18:40 +0000 |
---|---|---|
committer | Aleksey Sanin <aleksey@src.gnome.org> | 2002-05-24 07:18:40 +0000 |
commit | 23002568a6f407dfeb8ced515af28bdd6f74a4f1 (patch) | |
tree | 38ac4f3a48dbf5a17c3812ea3e54a6cd17a61064 /include/libxml/globals.h | |
parent | 49d5af8c0fd16d697f8774724be883def42d3fc5 (diff) | |
download | android_external_libxml2-23002568a6f407dfeb8ced515af28bdd6f74a4f1.tar.gz android_external_libxml2-23002568a6f407dfeb8ced515af28bdd6f74a4f1.tar.bz2 android_external_libxml2-23002568a6f407dfeb8ced515af28bdd6f74a4f1.zip |
changed default value for global parameter xmlIndentTreeOutput to 1 and
* global.data globals.c tree.c include/libxml/globals.h win32/libxml2.def.src win32/dsp/libxml2.def.src: changed default value for global parameter xmlIndentTreeOutput to 1 and introduced new global parameter xmlTreeIndentString (the string used to do one-level indent) with default value " " (as it was in tree.c)
Diffstat (limited to 'include/libxml/globals.h')
-rw-r--r-- | include/libxml/globals.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libxml/globals.h b/include/libxml/globals.h index c6ac0a31..fc6c01e5 100644 --- a/include/libxml/globals.h +++ b/include/libxml/globals.h @@ -40,6 +40,7 @@ extern "C" { #undef xmlGenericErrorContext #undef xmlGetWarningsDefaultValue #undef xmlIndentTreeOutput +#undef xmlTreeIndentString #undef xmlKeepBlanksDefaultValue #undef xmlLineNumbersDefaultValue #undef xmlLoadExtDtdDefaultValue @@ -87,6 +88,7 @@ struct _xmlGlobalState int xmlSaveNoEmptyTags; int xmlIndentTreeOutput; + const char *xmlTreeIndentString; }; #ifdef __cplusplus @@ -255,6 +257,14 @@ extern int *__xmlIndentTreeOutput(void); LIBXML_DLL_IMPORT extern int xmlIndentTreeOutput; #endif +extern const char * *__xmlTreeIndentString(void); +#ifdef LIBXML_THREAD_ENABLED +#define xmlTreeIndentString \ +(*(__xmlTreeIndentString())) +#else +LIBXML_DLL_IMPORT extern const char * xmlTreeIndentString; +#endif + extern int *__xmlKeepBlanksDefaultValue(void); #ifdef LIBXML_THREAD_ENABLED #define xmlKeepBlanksDefaultValue \ |