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

parser: Stop calling xmlParserInputGrow

Introduce xmlParserGrow which takes a parser context to simplify error
handling.
This commit is contained in:
Nick Wellnhofer
2023-03-12 16:47:15 +01:00
parent f6fddb78a5
commit 3eb6bf0386
4 changed files with 79 additions and 74 deletions

View File

@@ -23,5 +23,7 @@ XML_HIDDEN void
__xmlErrEncoding(xmlParserCtxtPtr ctxt, xmlParserErrors xmlerr,
const char *msg, const xmlChar *str1,
const xmlChar *str2) LIBXML_ATTR_FORMAT(3,0);
XML_HIDDEN int
xmlParserGrow(xmlParserCtxtPtr ctxt);
#endif /* XML_PARSER_H_PRIVATE__ */