1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

parser: Deprecate some parser input functions

This commit is contained in:
Nick Wellnhofer 2023-03-13 19:19:46 +01:00
parent 2099441f32
commit e7c3a4ca1b
3 changed files with 5 additions and 0 deletions

View File

@ -828,9 +828,11 @@ XMLPUBFUN void
/*
* Input functions
*/
XML_DEPRECATED
XMLPUBFUN int
xmlParserInputRead (xmlParserInputPtr in,
int len);
XML_DEPRECATED
XMLPUBFUN int
xmlParserInputGrow (xmlParserInputPtr in,
int len);

View File

@ -582,6 +582,7 @@ XMLPUBFUN int xmlCopyChar (int len,
xmlChar *out,
int val);
XMLPUBFUN void xmlNextChar (xmlParserCtxtPtr ctxt);
XML_DEPRECATED
XMLPUBFUN void xmlParserInputShrink (xmlParserInputPtr in);
/*

View File

@ -441,6 +441,8 @@ xmlParserShrink(xmlParserCtxtPtr ctxt) {
* xmlParserInputShrink:
* @in: an XML parser input
*
* DEPRECATED: Don't use.
*
* This function removes used input for the parser.
*/
void