mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-26 10:03:34 +03:00
threads: Deprecate remaining ThrDef functions
This commit is contained in:
parent
b117a912b6
commit
592546267f
@ -418,9 +418,11 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
||||
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
||||
xmlOutputBufferCreateFilenameDefault(
|
||||
xmlOutputBufferCreateFilenameFunc func);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
||||
xmlThrDefOutputBufferCreateFilenameDefault(
|
||||
xmlOutputBufferCreateFilenameFunc func);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
||||
xmlThrDefParserInputBufferCreateFilenameDefault(
|
||||
xmlParserInputBufferCreateFilenameFunc func);
|
||||
|
@ -892,6 +892,7 @@ XML_GLOBALS_ERROR
|
||||
XMLPUBFUN void
|
||||
xmlSetGenericErrorFunc (void *ctx,
|
||||
xmlGenericErrorFunc handler);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN void
|
||||
xmlThrDefSetGenericErrorFunc(void *ctx,
|
||||
xmlGenericErrorFunc handler);
|
||||
@ -902,6 +903,7 @@ XMLPUBFUN void
|
||||
XMLPUBFUN void
|
||||
xmlSetStructuredErrorFunc (void *ctx,
|
||||
xmlStructuredErrorFunc handler);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN void
|
||||
xmlThrDefSetStructuredErrorFunc(void *ctx,
|
||||
xmlStructuredErrorFunc handler);
|
||||
|
@ -82,10 +82,13 @@ XMLPUBFUN int
|
||||
xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
|
||||
xmlCharEncodingOutputFunc escape);
|
||||
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN int
|
||||
xmlThrDefIndentTreeOutput(int v);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN const char *
|
||||
xmlThrDefTreeIndentString(const char * v);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN int
|
||||
xmlThrDefSaveNoEmptyTags(int v);
|
||||
|
||||
|
@ -388,12 +388,15 @@ deprecated_funcs = {
|
||||
'xmlThrDefDefaultBufferSize': True,
|
||||
'xmlThrDefDoValidityCheckingDefaultValue': True,
|
||||
'xmlThrDefGetWarningsDefaultValue': True,
|
||||
'xmlThrDefIndentTreeOutput': True,
|
||||
'xmlThrDefKeepBlanksDefaultValue': True,
|
||||
'xmlThrDefLineNumbersDefaultValue': True,
|
||||
'xmlThrDefLoadExtDtdDefaultValue': True,
|
||||
'xmlThrDefParserDebugEntities': True,
|
||||
'xmlThrDefPedanticParserDefaultValue': True,
|
||||
'xmlThrDefSaveNoEmptyTags': True,
|
||||
'xmlThrDefSubstituteEntitiesDefaultValue': True,
|
||||
'xmlThrDefTreeIndentString': True,
|
||||
'xmlValidCtxtNormalizeAttributeValue': True,
|
||||
'xmlValidNormalizeAttributeValue': True,
|
||||
'xmlValidateAttributeValue': True,
|
||||
|
@ -1510,7 +1510,9 @@ static void
|
||||
libxml_xmlErrorInitialize(void)
|
||||
{
|
||||
xmlSetGenericErrorFunc(NULL, libxml_xmlErrorFuncHandler);
|
||||
XML_IGNORE_DEPRECATION_WARNINGS
|
||||
xmlThrDefSetGenericErrorFunc(NULL, libxml_xmlErrorFuncHandler);
|
||||
XML_POP_WARNINGS
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
Loading…
x
Reference in New Issue
Block a user