From db816ef1e678e20d91d1b5308b2d7a182a3f114c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 18 Apr 2024 12:04:03 +0200 Subject: Add the U8*_SCALE constants --- include/unicode/string.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/unicode') diff --git a/include/unicode/string.h b/include/unicode/string.h index 6363d9d..0cee934 100644 --- a/include/unicode/string.h +++ b/include/unicode/string.h @@ -29,4 +29,9 @@ size_t u8gnext(struct u8view *, const char8_t **, size_t *); size_t, enum caseflags); #undef mlib_warn_trunc +constexpr double U8LOWER_SCALE = 1.5; +constexpr double U8LOWER_SCALE_LT = 3; +constexpr double U8TITLE_SCALE = 3; +constexpr double U8UPPER_SCALE = 3; + #endif /* !MLIB_UNICODE_STRING_H */ -- cgit v1.2.3