diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-14 06:18:34 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-14 06:22:11 +0300 |
commit | b0bb458810142dac24fc12279c7bc541464a354d (patch) | |
tree | 516da6473644b9d1bc186b0b530945069b2d231e /py/misc.h | |
parent | 2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e (diff) |
unicode: String API is const byte*.
We still have that char vs byte dichotomy, but majority of string operations
now use byte.
Diffstat (limited to 'py/misc.h')
-rw-r--r-- | py/misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,8 +88,8 @@ int m_get_peak_bytes_allocated(void); 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); |