diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-14 18:19:22 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-14 18:19:22 +1100 |
commit | 19aee9438a7a8cf8539536dab5147aedb6b16bb3 (patch) | |
tree | c2300b20c7915eb222b3c20fcb61720aa5a78ef3 /tests/basics/builtin_range_binop.py | |
parent | 49e0dd54e650295fcb46b2a47ae08f369e5cfdac (diff) | |
download | micropython-19aee9438a7a8cf8539536dab5147aedb6b16bb3.tar.gz micropython-19aee9438a7a8cf8539536dab5147aedb6b16bb3.zip |
py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions.
This patch provides inline versions of the utf8 helper functions for the
case when unicode is disabled (MICROPY_PY_BUILTINS_STR_UNICODE set to 0).
This saves code size.
The unichar_charlen function is also renamed to utf8_charlen to match the
other utf8 helper functions, and the signature of this function is adjusted
for consistency (const char* -> const byte*, mp_uint_t -> size_t).
Diffstat (limited to 'tests/basics/builtin_range_binop.py')
0 files changed, 0 insertions, 0 deletions