py: Small comments, name changes, use of machine_int_t.

This commit is contained in:
Damien George
2014-06-28 10:27:23 +01:00
parent b3a50f0f3e
commit e04a44e2f6
6 changed files with 16 additions and 15 deletions

View File

@@ -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