commit | f6932d650620d3753b5a18df5131227276260f74 | [log] [tgz] |
---|---|---|
author | Emmanuel Blot <emmanuel.blot@free.fr> | Thu Jun 19 18:54:34 2014 +0200 |
committer | Emmanuel Blot <emmanuel.blot@free.fr> | Thu Jun 19 18:54:34 2014 +0200 |
tree | 977c539a77da4fa73d547414b78c266e511cfc46 | |
parent | bf3366a48bca2808ae04ac49e5f5737481d28b57 [diff] [blame] |
Prefix ARRAY_SIZE with micropython prefix MP_
diff --git a/py/builtin.c b/py/builtin.c index 834108f..b25ca42 100644 --- a/py/builtin.c +++ b/py/builtin.c
@@ -154,7 +154,7 @@ STATIC mp_obj_t mp_builtin_bin(mp_obj_t o_in) { mp_obj_t args[] = { MP_OBJ_NEW_QSTR(MP_QSTR__brace_open__colon__hash_b_brace_close_), o_in }; - return mp_obj_str_format(ARRAY_SIZE(args), args); + return mp_obj_str_format(MP_ARRAY_SIZE(args), args); } MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_bin_obj, mp_builtin_bin);