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

parser: Deprecate xmlIsLetter

This commit is contained in:
Nick Wellnhofer 2024-06-26 01:08:48 +02:00
parent fa50be923b
commit 3ff8a2c4b8
3 changed files with 4 additions and 3 deletions

View File

@ -296,9 +296,7 @@ XMLPUBVAR const xmlChar xmlStringText[];
XMLPUBVAR const xmlChar xmlStringTextNoenc[];
XMLPUBVAR const xmlChar xmlStringComment[];
/*
* Function to finish the work of the macros where needed.
*/
XML_DEPRECATED
XMLPUBFUN int xmlIsLetter (int c);
/**

View File

@ -422,6 +422,8 @@ xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors code, const char *info)
* xmlIsLetter:
* @c: an unicode character (int)
*
* DEPRECATED: Internal function, don't use.
*
* Check whether the character is allowed by the production
* [84] Letter ::= BaseChar | Ideographic
*

View File

@ -312,6 +312,7 @@ deprecated_funcs = {
'xmlInitializeDict': True,
'xmlIOFTPMatch': True,
'xmlIOHTTPMatch': True,
'xmlIsLetter': True,
'xmlIsRef': True,
'xmlKeepBlanksDefault': True,
'xmlLineNumbersDefault': True,