1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

globals: Document remaining thread-local vars as deprecated

See #407.
This commit is contained in:
Nick Wellnhofer 2024-07-02 19:51:05 +02:00
parent 35146ff31c
commit 6794c1b91d

View File

@ -241,17 +241,13 @@ static int xmlDefaultBufferSizeThrDef = BASE_BUFFER_SIZE;
/**
* oldXMLWDcompatibility:
*
* Global setting, DEPRECATED.
* DEPRECATED, always 0.
*/
const int oldXMLWDcompatibility = 0; /* DEPRECATED */
/**
* xmlParserDebugEntities:
*
* DEPRECATED: Don't use
*
* Global setting, asking the parser to print out debugging information.
* while handling entities.
* Disabled by default
* DEPRECATED, always 0.
*/
const int xmlParserDebugEntities = 0;
/**
@ -369,6 +365,8 @@ static xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValueThrDe
/**
* xmlGenericError:
*
* DEPRECATED: Use xmlCtxtSetErrorHandler.
*
* Global setting: function used for generic error callbacks
*/
xmlGenericErrorFunc xmlGenericError = xmlGenericErrorDefaultFunc;
@ -376,6 +374,8 @@ static xmlGenericErrorFunc xmlGenericErrorThrDef = xmlGenericErrorDefaultFunc;
/**
* xmlStructuredError:
*
* DEPRECATED: Use xmlCtxtSetErrorHandler.
*
* Global setting: function used for structured error callbacks
*/
xmlStructuredErrorFunc xmlStructuredError = NULL;
@ -383,6 +383,8 @@ static xmlStructuredErrorFunc xmlStructuredErrorThrDef = NULL;
/**
* xmlGenericErrorContext:
*
* DEPRECATED: Use xmlCtxtSetErrorHandler.
*
* Global setting passed to generic error callbacks
*/
void *xmlGenericErrorContext = NULL;
@ -390,6 +392,8 @@ static void *xmlGenericErrorContextThrDef = NULL;
/**
* xmlStructuredErrorContext:
*
* DEPRECATED: Use xmlCtxtSetErrorHandler.
*
* Global setting passed to structured error callbacks
*/
void *xmlStructuredErrorContext = NULL;