1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

parser: Rename xmlErrParser to xmlCtxtErr

This commit is contained in:
Nick Wellnhofer
2023-12-20 00:33:34 +01:00
parent 8d0aaf4b95
commit 130436917c
7 changed files with 82 additions and 84 deletions

View File

@@ -77,8 +77,8 @@ static void LIBXML_ATTR_FORMAT(3,0)
htmlParseErr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
const char *msg, const xmlChar *str1, const xmlChar *str2)
{
xmlErrParser(ctxt, NULL, XML_FROM_HTML, error, XML_ERR_ERROR,
str1, str2, NULL, 0, msg, str1, str2);
xmlCtxtErr(ctxt, NULL, XML_FROM_HTML, error, XML_ERR_ERROR,
str1, str2, NULL, 0, msg, str1, str2);
}
/**
@@ -94,8 +94,8 @@ static void LIBXML_ATTR_FORMAT(3,0)
htmlParseErrInt(xmlParserCtxtPtr ctxt, xmlParserErrors error,
const char *msg, int val)
{
xmlErrParser(ctxt, NULL, XML_FROM_HTML, error, XML_ERR_ERROR,
NULL, NULL, NULL, val, msg, val);
xmlCtxtErr(ctxt, NULL, XML_FROM_HTML, error, XML_ERR_ERROR,
NULL, NULL, NULL, val, msg, val);
}
/************************************************************************