[libxml2] Fix compiler warnings in Python code
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix compiler warnings in Python code
- Date: Wed, 13 Apr 2022 15:10:01 +0000 (UTC)
commit cacf65556c0f0d83e7544e8bcf3185ba9a3894f5
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Wed Apr 13 16:43:15 2022 +0200
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]