diff options
author | Sebastian Geerken <devnull@localhost> | 2012-12-13 22:43:15 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-12-13 22:43:15 +0100 |
commit | f5380a56b1a6b83fea9b1c97140d4b1c8fe4ba49 (patch) | |
tree | 93a792dc006a046b4187acf95c6c8b79df97a920 /lout/unicode.hh | |
parent | 1471c240d49b60ef081f50230f2eee8852793716 (diff) |
New function nextUtf8Char; usage in dw::Hyphenator and (partly) dw::Textblock.
Diffstat (limited to 'lout/unicode.hh')
-rw-r--r-- | lout/unicode.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lout/unicode.hh b/lout/unicode.hh index 123e7aa3..42d06911 100644 --- a/lout/unicode.hh +++ b/lout/unicode.hh @@ -11,7 +11,11 @@ namespace unicode { bool isAlpha (int ch); -int decodeUtf8 (char *s); +int decodeUtf8 (const char *s); + +const char *nextUtf8Char (const char *s); + +const char *nextUtf8Char (const char *s, int len); } // namespace lout |