summaryrefslogtreecommitdiffstatshomepage
path: root/py/unicode.c
diff options
context:
space:
mode:
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 a58cdb14aa..a91e08078e 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