1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-02 20:42:30 +03:00

unicode: Deprecate most xmlUCSIs* functions

These don't seem to be used by downstream code.
This commit is contained in:
Nick Wellnhofer
2024-04-30 17:26:28 +02:00
parent e637953527
commit ae23a4ce56
3 changed files with 171 additions and 4 deletions

View File

@ -492,7 +492,10 @@ def print_function_wrapper(name, output, export, include):
# Don't delete the function entry in the caller.
return 1
is_deprecated = name in deprecated_funcs
if name.startswith('xmlUCSIs'):
is_deprecated = name != 'xmlUCSIsBlock' and name != 'xmlUCSIsCat'
else:
is_deprecated = name in deprecated_funcs
c_call = ""
format=""