summaryrefslogtreecommitdiff
path: root/py/unicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-28 10:27:23 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-28 10:27:23 +0100
commite04a44e2f65d1ac49e5cce164d6010ff968f4d48 (patch)
tree3204ce1c708a6742d467e523ac95308ba61ecf8e /py/unicode.c
parentb3a50f0f3e287d63fce274e29641a3bc57405d5d (diff)
py: Small comments, name changes, use of machine_int_t.
Diffstat (limited to 'py/unicode.c')
-rw-r--r--py/unicode.c1
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