summaryrefslogtreecommitdiff
path: root/gentest.py
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-02-20 17:36:28 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-02-20 21:49:04 +0100
commit96889d195b11e8c73e530856c83c6057e10a27a0 (patch)
tree7e732a732f5271ab0684c621a6749f713b67ce34 /gentest.py
parent9e0ca5a19f86299efee67598ccd4b797dc219002 (diff)
downloadlibxml2-96889d195b11e8c73e530856c83c6057e10a27a0.tar.gz
Disable legacy support by default
If you need support for legacy APIs, you have to enable it explicitly: ./configure --with-legacy
Diffstat (limited to 'gentest.py')
-rwxr-xr-xgentest.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/gentest.py b/gentest.py
index b6cd866c..88f88f18 100755
--- a/gentest.py
+++ b/gentest.py
@@ -58,11 +58,6 @@ function_defines = {
"xmlSAX2StartElement" : "LIBXML_SAX1_ENABLED",
"xmlSAXDefaultVersion" : "LIBXML_SAX1_ENABLED",
"UTF8Toisolat1" : "LIBXML_OUTPUT_ENABLED",
- "xmlCleanupPredefinedEntities": "LIBXML_LEGACY_ENABLED",
- "xmlInitializePredefinedEntities": "LIBXML_LEGACY_ENABLED",
- "xmlSetFeature": "LIBXML_LEGACY_ENABLED",
- "xmlGetFeature": "LIBXML_LEGACY_ENABLED",
- "xmlGetFeaturesList": "LIBXML_LEGACY_ENABLED",
"xmlIOParseDTD": "LIBXML_VALID_ENABLED",
"xmlParseDTD": "LIBXML_VALID_ENABLED",
"xmlParseDoc": "LIBXML_SAX1_ENABLED",
@@ -161,6 +156,9 @@ skipped_functions = [
"xmlParseXMLDecl", "xmlParseTextDecl", "xmlParseMisc",
"xmlParseExternalSubset", "xmlParserHandlePEReference",
"xmlSkipBlankChars",
+# Legacy
+"xmlCleanupPredefinedEntities", "xmlInitializePredefinedEntities",
+"xmlSetFeature", "xmlGetFeature", "xmlGetFeaturesList",
]
#