summaryrefslogtreecommitdiff
path: root/SAX2.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-08-24 05:25:37 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-08-24 14:07:57 +0200
commit0e49f8826a71be2c56b8f7e86a5c103dd21a8f3f (patch)
treed9c8b8b4bcee50e9a38364a594920e87e02f4887 /SAX2.c
parentce93ee90518811db96d5b24c543fda6c948f0288 (diff)
downloadlibxml2-0e49f8826a71be2c56b8f7e86a5c103dd21a8f3f.tar.gz
Mark most SAX1 functions as deprecated
No compiler warnings generated yet.
Diffstat (limited to 'SAX2.c')
-rw-r--r--SAX2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/SAX2.c b/SAX2.c
index 36f74f24..568e1927 100644
--- a/SAX2.c
+++ b/SAX2.c
@@ -2829,6 +2829,8 @@ static int xmlSAX2DefaultVersionValue = 2;
* xmlSAXDefaultVersion:
* @version: the version, 1 or 2
*
+ * DEPRECATED: Use parser option XML_PARSE_SAX1.
+ *
* Set the default version of SAX used globally by the library.
* By default, during initialization the default is set to 2.
* Note that it is generally a better coding style to use