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