diff options
Diffstat (limited to 'include/libxml')
-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 \ |