mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-24 06:50:08 +03:00
globals: Deprecate xmlLastError
The last error should be accessed with xmlGetLastError.
This commit is contained in:
parent
db8b9722cb
commit
0830fcfa90
@ -90,12 +90,13 @@ xmlDllMain(void *hinstDLL, unsigned long fdwReason,
|
||||
#define XML_EMPTY
|
||||
|
||||
#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(xmlGenericErrorContext, void *, XML_EMPTY) \
|
||||
XML_OP(xmlStructuredError, xmlStructuredErrorFunc, XML_EMPTY) \
|
||||
XML_OP(xmlStructuredErrorContext, void *, XML_EMPTY) \
|
||||
XML_OP(xmlParserVersion, const char *, XML_EMPTY) \
|
||||
/* output options */ \
|
||||
XML_OP(xmlIndentTreeOutput, int, XML_EMPTY) \
|
||||
XML_OP(xmlTreeIndentString, const char *, XML_EMPTY) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user