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

parser: Rework xmlCtxtParseDocument

Make xmlCtxtParseDocument take a parser input which can be popped after
parsing.
This commit is contained in:
Nick Wellnhofer
2024-01-04 23:25:06 +01:00
parent c2b3294f60
commit b82fd81d06
5 changed files with 88 additions and 150 deletions

View File

@@ -247,7 +247,8 @@ XMLPUBFUN htmlDocPtr
const char *encoding,
int options);
XMLPUBFUN htmlDocPtr
htmlCtxtParseDocument (htmlParserCtxtPtr ctxt);
htmlCtxtParseDocument (htmlParserCtxtPtr ctxt,
xmlParserInputPtr input);
XMLPUBFUN htmlDocPtr
htmlCtxtReadDoc (xmlParserCtxtPtr ctxt,
const xmlChar *cur,