summaryrefslogtreecommitdiffhomepage
path: root/include/stc/utf8.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-03 10:37:44 +0100
committerTyge Løvset <[email protected]>2023-01-03 10:37:44 +0100
commitc5abb5b806ddc3eedde2e6bcd31eef78c36edf33 (patch)
tree70198361b1133d7c6eb930c998eaaf6888d13309 /include/stc/utf8.h
parent16e004c62f8d8d502152a85b2ffd384a1c91a470 (diff)
downloadSTC-modified-c5abb5b806ddc3eedde2e6bcd31eef78c36edf33.tar.gz
STC-modified-c5abb5b806ddc3eedde2e6bcd31eef78c36edf33.zip
Fix compilation error in utf8code.c due to predeclaring a static array with unspecified size.
Diffstat (limited to 'include/stc/utf8.h')
-rw-r--r--include/stc/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stc/utf8.h b/include/stc/utf8.h
index 3246e654..4e38a5c8 100644
--- a/include/stc/utf8.h
+++ b/include/stc/utf8.h
@@ -9,6 +9,7 @@ enum {
U8G_Cc, U8G_Lt, U8G_Nd, U8G_Nl,
U8G_Pc, U8G_Pd, U8G_Pf, U8G_Pi,
U8G_Sc, U8G_Zl, U8G_Zp, U8G_Zs,
+ U8G_SIZE
};
extern bool utf8_isgroup(int group, uint32_t c);
extern bool utf8_isblank(uint32_t c);