summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtin.c
diff options
context:
space:
mode:
authorEmmanuel Blot <emmanuel.blot@free.fr>2014-06-19 18:54:34 +0200
committerEmmanuel Blot <emmanuel.blot@free.fr>2014-06-19 18:54:34 +0200
commitf6932d650620d3753b5a18df5131227276260f74 (patch)
tree977c539a77da4fa73d547414b78c266e511cfc46 /py/builtin.c
parentbf3366a48bca2808ae04ac49e5f5737481d28b57 (diff)
downloadmicropython-f6932d650620d3753b5a18df5131227276260f74.tar.gz
micropython-f6932d650620d3753b5a18df5131227276260f74.zip
Prefix ARRAY_SIZE with micropython prefix MP_
Diffstat (limited to 'py/builtin.c')
-rw-r--r--py/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtin.c b/py/builtin.c
index 834108f1b5..b25ca42a14 100644
--- a/py/builtin.c
+++ b/py/builtin.c
@@ -154,7 +154,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_any_obj, mp_builtin_any);
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);