summaryrefslogtreecommitdiff
path: root/xpath.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-03-06 13:55:48 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-03-06 15:59:43 +0100
commit40483d0ce26119fd3b23aea6cce532a8a78670cf (patch)
tree5436f5b1ca0065942f83a6a4be2c3a92acbcf07c /xpath.c
parent7d02c7291f5c0ba56b9d8c04af7690cf11e47f07 (diff)
downloadlibxml2-40483d0ce26119fd3b23aea6cce532a8a78670cf.tar.gz
Deprecate module init and cleanup functions
These functions shouldn't be part of the public API. Most init functions are only thread-safe when called from xmlInitParser. Global variables should only be cleaned up by calling xmlCleanupParser.
Diffstat (limited to 'xpath.c')
-rw-r--r--xpath.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xpath.c b/xpath.c
index 61e34e6d..0953373a 100644
--- a/xpath.c
+++ b/xpath.c
@@ -482,6 +482,9 @@ double xmlXPathNINF;
/**
* xmlXPathInit:
*
+ * DEPRECATED: This function will be made private. Call xmlInitParser to
+ * initialize the library.
+ *
* Initialize the XPath environment
*/
ATTRIBUTE_NO_SANITIZE("float-divide-by-zero")