Merge branch 'ctype-bits' into 'master'

move ctype bits from C to cbindgen

See merge request redox-os/relibc!1122
This commit is contained in:
Jeremy Soller
2026-03-27 07:34:45 -06:00
2 changed files with 7 additions and 9 deletions
-7
View File
@@ -1,7 +0,0 @@
#ifndef _BITS_CTYPE_H
#define _BITS_CTYPE_H
#define _tolower(c) tolower(c)
#define _toupper(c) toupper(c)
#endif /* _BITS_CTYPE_H */
+7 -2
View File
@@ -4,9 +4,14 @@
# - "The <ctype.h> header shall define the locale_t type as described in <locale.h>, representing a locale object."
#
# features.h included for #[deprecated] annotation
sys_includes = ["bits/ctype.h", "features.h"]
sys_includes = ["features.h"]
include_guard = "_RELIBC_CTYPE_H"
after_includes = "#include <bits/locale-t.h> // for locale_t"
after_includes = """
#include <bits/locale-t.h> // for locale_t
#define _tolower(c) tolower(c)
#define _toupper(c) toupper(c)
"""
language = "C"
style = "Tag"
no_includes = true