mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
globals: Deprecate xmlLastError
The last error should be accessed with xmlGetLastError.
This commit is contained in:
@@ -90,12 +90,13 @@ xmlDllMain(void *hinstDLL, unsigned long fdwReason,
|
|||||||
#define XML_EMPTY
|
#define XML_EMPTY
|
||||||
|
|
||||||
#define XML_GLOBALS_CORE \
|
#define XML_GLOBALS_CORE \
|
||||||
XML_OP(xmlLastError, xmlError, XML_EMPTY) \
|
XML_OP(xmlParserVersion, const char *, XML_EMPTY) \
|
||||||
|
/* error handling */ \
|
||||||
|
XML_OP(xmlLastError, xmlError, XML_DEPRECATED) \
|
||||||
XML_OP(xmlGenericError, xmlGenericErrorFunc, XML_EMPTY) \
|
XML_OP(xmlGenericError, xmlGenericErrorFunc, XML_EMPTY) \
|
||||||
XML_OP(xmlGenericErrorContext, void *, XML_EMPTY) \
|
XML_OP(xmlGenericErrorContext, void *, XML_EMPTY) \
|
||||||
XML_OP(xmlStructuredError, xmlStructuredErrorFunc, XML_EMPTY) \
|
XML_OP(xmlStructuredError, xmlStructuredErrorFunc, XML_EMPTY) \
|
||||||
XML_OP(xmlStructuredErrorContext, void *, XML_EMPTY) \
|
XML_OP(xmlStructuredErrorContext, void *, XML_EMPTY) \
|
||||||
XML_OP(xmlParserVersion, const char *, XML_EMPTY) \
|
|
||||||
/* output options */ \
|
/* output options */ \
|
||||||
XML_OP(xmlIndentTreeOutput, int, XML_EMPTY) \
|
XML_OP(xmlIndentTreeOutput, int, XML_EMPTY) \
|
||||||
XML_OP(xmlTreeIndentString, const char *, XML_EMPTY) \
|
XML_OP(xmlTreeIndentString, const char *, XML_EMPTY) \
|
||||||
|
|||||||
Reference in New Issue
Block a user