diff --git a/include/libxml/parser.h b/include/libxml/parser.h index 6af43ffe..950ebe32 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -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); diff --git a/include/libxml/parserInternals.h b/include/libxml/parserInternals.h index ce8dbd1f..ab512499 100644 --- a/include/libxml/parserInternals.h +++ b/include/libxml/parserInternals.h @@ -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); /* diff --git a/parserInternals.c b/parserInternals.c index bcf120a9..90c428d1 100644 --- a/parserInternals.c +++ b/parserInternals.c @@ -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