1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Fix compiler warnings in Python code

Add more deprecated functions to avoid compiler warnings when building
the Python bindings.
This commit is contained in:
Nick Wellnhofer
2022-04-13 16:43:15 +02:00
parent f5659a122d
commit cacf65556c

View File

@ -294,14 +294,29 @@ deprecated_funcs = {
'xmlCleanupCharEncodingHandlers': True, 'xmlCleanupCharEncodingHandlers': True,
'xmlCleanupGlobals': True, 'xmlCleanupGlobals': True,
'xmlDefaultSAXHandlerInit': True, 'xmlDefaultSAXHandlerInit': True,
'xmlDecodeEntities': True,
'xmlDictCleanup': True, 'xmlDictCleanup': True,
'xmlEncodeEntities': True,
'xmlHandleEntity': True,
'xmlInitCharEncodingHandlers': True, 'xmlInitCharEncodingHandlers': True,
'xmlInitGlobals': True, 'xmlInitGlobals': True,
'xmlInitializeDict': True, 'xmlInitializeDict': True,
'xmlInitializePredefinedEntities': True,
'xmlIsRef': 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, 'xmlRelaxNGCleanupTypes': True,
'xmlRelaxNGInitTypes': True, 'xmlRelaxNGInitTypes': True,
'xmlRemoveRef': True, 'xmlRemoveRef': True,
'xmlScanName': True,
'xmlSchemaCleanupTypes': True, 'xmlSchemaCleanupTypes': True,
'xmlSchemaInitTypes': True, 'xmlSchemaInitTypes': True,
'xmlXPathInit': True, 'xmlXPathInit': True,