diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:27:23 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:27:23 +0100 |
commit | e04a44e2f65d1ac49e5cce164d6010ff968f4d48 (patch) | |
tree | 3204ce1c708a6742d467e523ac95308ba61ecf8e /py/unicode.c | |
parent | b3a50f0f3e287d63fce274e29641a3bc57405d5d (diff) |
py: Small comments, name changes, use of machine_int_t.
Diffstat (limited to 'py/unicode.c')
-rw-r--r-- | py/unicode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/unicode.c b/py/unicode.c index a58cdb14a..a91e08078 100644 --- a/py/unicode.c +++ b/py/unicode.c @@ -107,6 +107,7 @@ machine_uint_t utf8_ptr_to_index(const char *s, const char *ptr) { return i; } +// TODO: Rename to str_charlen; return machine_uint_t uint unichar_charlen(const char *str, uint len) { #if MICROPY_PY_BUILTINS_STR_UNICODE |