summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-03-13 19:38:41 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2023-04-26 20:23:23 +0200
commit3ffcc03b16412074b0a71c76e6fae0d359600cee (patch)
tree3cbac70851e5bff216a7218be0d7e423fa083c37 /parser.c
parentb51b99ef83fde5dc6f5be18d07af735258f4b9ed (diff)
downloadlibxml2-3ffcc03b16412074b0a71c76e6fae0d359600cee.tar.gz
parser: Deprecate more internal functions
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 9ed64c9e..c6383f6e 100644
--- a/parser.c
+++ b/parser.c
@@ -1376,6 +1376,8 @@ xmlCleanSpecialAttr(xmlParserCtxtPtr ctxt)
* xmlCheckLanguageID:
* @lang: pointer to the string value
*
+ * DEPRECATED: Internal function, do not use.
+ *
* Checks that the value conforms to the LanguageID production:
*
* NOTE: this is somewhat deprecated, those productions were removed from
@@ -1750,6 +1752,8 @@ inputPop(xmlParserCtxtPtr ctxt)
* @ctxt: an XML parser context
* @value: the element node
*
+ * DEPRECATED: Internal function, do not use.
+ *
* Pushes a new element node on top of the node stack
*
* Returns -1 in case of error, the index in the stack otherwise
@@ -1788,6 +1792,8 @@ nodePush(xmlParserCtxtPtr ctxt, xmlNodePtr value)
* nodePop:
* @ctxt: an XML parser context
*
+ * DEPRECATED: Internal function, do not use.
+ *
* Pops the top element node from the node stack
*
* Returns the node just removed
@@ -1899,6 +1905,8 @@ nameNsPop(xmlParserCtxtPtr ctxt)
* @ctxt: an XML parser context
* @value: the element name
*
+ * DEPRECATED: Internal function, do not use.
+ *
* Pushes a new element name on top of the name stack
*
* Returns -1 in case of error, the index in the stack otherwise
@@ -1926,10 +1934,13 @@ mem_error:
xmlErrMemory(ctxt, NULL);
return (-1);
}
+
/**
* namePop:
* @ctxt: an XML parser context
*
+ * DEPRECATED: Internal function, do not use.
+ *
* Pops the top element name from the name stack
*
* Returns the name just removed
@@ -2098,6 +2109,8 @@ static int spacePop(xmlParserCtxtPtr ctxt) {
* xmlSkipBlankChars:
* @ctxt: the XML parser context
*
+ * DEPRECATED: Internal function, do not use.
+ *
* skip all blanks character found at that point in the input streams.
* It pops up finished entities in the process if allowable at that point.
*
@@ -2473,6 +2486,8 @@ xmlParseStringCharRef(xmlParserCtxtPtr ctxt, const xmlChar **str) {
* xmlParserHandlePEReference:
* @ctxt: the parser context
*
+ * DEPRECATED: Internal function, do not use.
+ *
* [69] PEReference ::= '%' Name ';'
*
* [ WFC: No Recursion ]