aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-18 12:04:03 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-18 12:04:03 +0200
commitdb816ef1e678e20d91d1b5308b2d7a182a3f114c (patch)
treeab30b8deca32f2f1d9a4b238235b45fa99c092fc /include
parent1616feb4901579da80452c95c6e0f732b945c7d5 (diff)
Add the U8*_SCALE constants
Diffstat (limited to 'include')
-rw-r--r--include/unicode/string.h5
1 files changed, 5 insertions, 0 deletions
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 */