Make wcswidth useable in a streaming fashion

This commit is contained in:
Kovid Goyal
2020-09-21 15:55:22 +05:30
parent b5007ba276
commit 444080f320
6 changed files with 162 additions and 113 deletions
+1 -1
View File
@@ -2848,7 +2848,7 @@ wcwidth_std(int32_t code) {
}
return 1;
}
static bool
static inline bool
is_emoji_presentation_base(uint32_t code) {
switch(code) {
case 0x23: