[libxml2] Undeprecate schema init functions



commit 2070ade6df2e430169861ad0785c2cf7370d2f66
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sun Mar 6 23:19:04 2022 +0100

    Undeprecate schema init functions
    
    These functions aren't called from xmlInitParser, so it's better to keep
    them public for now.

 include/libxml/relaxng.h         | 1 -
 include/libxml/xmlschemastypes.h | 1 -
 relaxng.c                        | 3 ---
 xmlschemastypes.c                | 3 ---
 4 files changed, 8 deletions(-)
---
diff --git a/include/libxml/relaxng.h b/include/libxml/relaxng.h
index 89f9d381..6369785c 100644
--- a/include/libxml/relaxng.h
+++ b/include/libxml/relaxng.h
@@ -116,7 +116,6 @@ typedef enum {
     XML_RELAXNGP_CRNG = 2
 } xmlRelaxNGParserFlag;
 
-XML_DEPRECATED
 XMLPUBFUN int XMLCALL
                    xmlRelaxNGInitTypes         (void);
 XML_DEPRECATED
diff --git a/include/libxml/xmlschemastypes.h b/include/libxml/xmlschemastypes.h
index 2a09a6e5..5d588f92 100644
--- a/include/libxml/xmlschemastypes.h
+++ b/include/libxml/xmlschemastypes.h
@@ -30,7 +30,6 @@ typedef enum {
     XML_SCHEMA_WHITESPACE_COLLAPSE = 3
 } xmlSchemaWhitespaceValueType;
 
-XML_DEPRECATED
 XMLPUBFUN void XMLCALL
                xmlSchemaInitTypes              (void);
 XML_DEPRECATED
diff --git a/relaxng.c b/relaxng.c
index ea17adbe..80956b5c 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -2815,9 +2815,6 @@ xmlRelaxNGRegisterTypeLibrary(const xmlChar * namespace, void *data,
 /**
  * xmlRelaxNGInitTypes:
  *
- * DEPRECATED: This function will be made private. Call xmlInitParser to
- * initialize the library.
- *
  * Initialize the default type libraries.
  *
  * Returns 0 in case of success and -1 in case of error.
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 3aae92c4..26c033d4 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -386,9 +386,6 @@ xmlSchemaAddParticle(void)
 /*
  * xmlSchemaInitTypes:
  *
- * DEPRECATED: This function will be made private. Call xmlInitParser to
- * initialize the library.
- *
  * Initialize the default XML Schemas type library
  */
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]