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

globals: Remove unused globals from thread storage

Setting these deprecated globals hasn't had an effect for a long time.
Make them constants. This reduces the size of per-thread storage from
~700 to ~250 bytes.
This commit is contained in:
Nick Wellnhofer
2023-12-06 01:09:31 +01:00
parent be558647c1
commit c011e7605d
6 changed files with 78 additions and 68 deletions

View File

@@ -63,7 +63,6 @@ ignored_words = {
"XML_DEPRECATED": (0, "macro keyword"),
"XML_GLOBALS_ALLOC": (0, "macro keyword"),
"XML_GLOBALS_ERROR": (0, "macro keyword"),
"XML_GLOBALS_HTML": (0, "macro keyword"),
"XML_GLOBALS_IO": (0, "macro keyword"),
"XML_GLOBALS_PARSER": (0, "macro keyword"),
"XML_GLOBALS_SAVE": (0, "macro keyword"),