commit | b0bb458810142dac24fc12279c7bc541464a354d | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Sat Jun 14 06:18:34 2014 +0300 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Sat Jun 14 06:22:11 2014 +0300 |
tree | 516da6473644b9d1bc186b0b530945069b2d231e | |
parent | 2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e [diff] [blame] |
unicode: String API is const byte*. We still have that char vs byte dichotomy, but majority of string operations now use byte.
diff --git a/py/misc.h b/py/misc.h index fd54147..97e16c2 100644 --- a/py/misc.h +++ b/py/misc.h
@@ -88,8 +88,8 @@ typedef int unichar; // TODO -unichar utf8_get_char(const char *s); -char *utf8_next_char(const char *s); +unichar utf8_get_char(const byte *s); +const byte *utf8_next_char(const byte *s); bool unichar_isspace(unichar c); bool unichar_isalpha(unichar c);