diff options
Diffstat (limited to 'src/fe-text/utf8.h')
-rw-r--r-- | src/fe-text/utf8.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/utf8.h b/src/fe-text/utf8.h index efc6af08..64c0e347 100644 --- a/src/fe-text/utf8.h +++ b/src/fe-text/utf8.h @@ -18,4 +18,7 @@ int utf16_char_to_utf8(unichar c, char *outbuf); Make sure out is at least 6 x length of str. */ void utf16_to_utf8(const unichar *str, char *out); +/* Returns width for character (0-2). */ +int utf8_width(unichar c); + #endif |