1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

parser: Revert change to doc->encoding

Fixes #579.
This commit is contained in:
Nick Wellnhofer
2023-08-16 19:43:02 +02:00
parent 61b8e097b9
commit f1c1f5c6b4
4 changed files with 29 additions and 16 deletions

View File

@@ -23,7 +23,8 @@
#define XML_INPUT_AUTO_UTF16LE (2u << 1)
#define XML_INPUT_AUTO_UTF16BE (3u << 1)
#define XML_INPUT_AUTO_OTHER (4u << 1)
#define XML_INPUT_8_BIT (1u << 4)
#define XML_INPUT_USES_ENC_DECL (1u << 4)
#define XML_INPUT_8_BIT (1u << 5)
XML_HIDDEN void
xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra);