1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-28 23:14:57 +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 * Input functions
*/ */
XML_DEPRECATED
XMLPUBFUN int XMLPUBFUN int
xmlParserInputRead (xmlParserInputPtr in, xmlParserInputRead (xmlParserInputPtr in,
int len); int len);
XML_DEPRECATED
XMLPUBFUN int XMLPUBFUN int
xmlParserInputGrow (xmlParserInputPtr in, xmlParserInputGrow (xmlParserInputPtr in,
int len); int len);

View File

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

View File

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