mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Deprecate module init and cleanup functions
These functions shouldn't be part of the public API. Most init functions are only thread-safe when called from xmlInitParser. Global variables should only be cleaned up by calling xmlCleanupParser.
This commit is contained in:
@ -289,8 +289,22 @@ skip_impl = (
|
||||
)
|
||||
|
||||
deprecated_funcs = {
|
||||
'htmlDefaultSAXHandlerInit': True,
|
||||
'htmlInitAutoClose': True,
|
||||
'xmlCleanupCharEncodingHandlers': True,
|
||||
'xmlCleanupGlobals': True,
|
||||
'xmlDefaultSAXHandlerInit': True,
|
||||
'xmlDictCleanup': True,
|
||||
'xmlInitCharEncodingHandlers': True,
|
||||
'xmlInitGlobals': True,
|
||||
'xmlInitializeDict': True,
|
||||
'xmlIsRef': True,
|
||||
'xmlRelaxNGCleanupTypes': True,
|
||||
'xmlRelaxNGInitTypes': True,
|
||||
'xmlRemoveRef': True,
|
||||
'xmlSchemaCleanupTypes': True,
|
||||
'xmlSchemaInitTypes': True,
|
||||
'xmlXPathInit': True,
|
||||
}
|
||||
|
||||
def skip_function(name):
|
||||
|
Reference in New Issue
Block a user