From cacf65556c0f0d83e7544e8bcf3185ba9a3894f5 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Wed, 13 Apr 2022 16:43:15 +0200 Subject: [PATCH] Fix compiler warnings in Python code Add more deprecated functions to avoid compiler warnings when building the Python bindings. --- python/generator.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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,