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/compile.c b/py/compile.c index 946c892..b9979af 100644 --- a/py/compile.c +++ b/py/compile.c
@@ -111,8 +111,8 @@ STATIC const mp_map_t mp_constants_map = { .all_keys_are_qstrs = 1, .table_is_fixed_array = 1, - .used = ARRAY_SIZE(mp_constants_table), - .alloc = ARRAY_SIZE(mp_constants_table), + .used = MP_ARRAY_SIZE(mp_constants_table), + .alloc = MP_ARRAY_SIZE(mp_constants_table), .table = (mp_map_elem_t*)mp_constants_table, };