diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-02-20 17:36:28 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-02-20 21:49:04 +0100 |
commit | 96889d195b11e8c73e530856c83c6057e10a27a0 (patch) | |
tree | 7e732a732f5271ab0684c621a6749f713b67ce34 /gentest.py | |
parent | 9e0ca5a19f86299efee67598ccd4b797dc219002 (diff) | |
download | libxml2-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-x | gentest.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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", ] # |