summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-04-13 16:43:15 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-04-13 16:43:15 +0200
commitcacf65556c0f0d83e7544e8bcf3185ba9a3894f5 (patch)
treeaf4989d08d3c8a6340d4ff77e072e44c5bbd717e
parentf5659a122d47468cc6d2e903ea1280a75571b6c3 (diff)
downloadlibxml2-cacf65556c0f0d83e7544e8bcf3185ba9a3894f5.tar.gz
Fix compiler warnings in Python code
Add more deprecated functions to avoid compiler warnings when building the Python bindings.
-rwxr-xr-xpython/generator.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/generator.py b/python/generator.py
index 1188952e..409d0ccb 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -294,14 +294,29 @@ deprecated_funcs = {
'xmlCleanupCharEncodingHandlers': True,
'xmlCleanupGlobals': True,
'xmlDefaultSAXHandlerInit': True,
+ 'xmlDecodeEntities': True,
'xmlDictCleanup': True,
+ 'xmlEncodeEntities': True,
+ 'xmlHandleEntity': True,
'xmlInitCharEncodingHandlers': True,
'xmlInitGlobals': True,
'xmlInitializeDict': True,
+ 'xmlInitializePredefinedEntities': True,
'xmlIsRef': True,
+ 'xmlNamespaceParseNCName': True,
+ 'xmlNamespaceParseNSDef': True,
+ 'xmlNanoFTPCleanup': True,
+ 'xmlNanoFTPInit': True,
+ 'xmlNanoFTPProxy': True,
+ 'xmlNanoFTPScanProxy': True,
+ 'xmlNewGlobalNs': True,
+ 'xmlParseNamespace': True,
+ 'xmlParseQuotedString': True,
+ 'xmlParserHandleReference': True,
'xmlRelaxNGCleanupTypes': True,
'xmlRelaxNGInitTypes': True,
'xmlRemoveRef': True,
+ 'xmlScanName': True,
'xmlSchemaCleanupTypes': True,
'xmlSchemaInitTypes': True,
'xmlXPathInit': True,