summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtintables.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/builtintables.c
parentbf3366a48bca2808ae04ac49e5f5737481d28b57 (diff)
downloadmicropython-f6932d650620d3753b5a18df5131227276260f74.tar.gz
micropython-f6932d650620d3753b5a18df5131227276260f74.zip
Prefix ARRAY_SIZE with micropython prefix MP_
Diffstat (limited to 'py/builtintables.c')
-rw-r--r--py/builtintables.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/builtintables.c b/py/builtintables.c
index 857a581de4..af9a9bc25e 100644
--- a/py/builtintables.c
+++ b/py/builtintables.c
@@ -150,8 +150,8 @@ const mp_obj_dict_t mp_builtin_object_dict_obj = {
.map = {
.all_keys_are_qstrs = 1,
.table_is_fixed_array = 1,
- .used = ARRAY_SIZE(mp_builtin_object_table),
- .alloc = ARRAY_SIZE(mp_builtin_object_table),
+ .used = MP_ARRAY_SIZE(mp_builtin_object_table),
+ .alloc = MP_ARRAY_SIZE(mp_builtin_object_table),
.table = (mp_map_elem_t*)mp_builtin_object_table,
},
};
@@ -195,8 +195,8 @@ const mp_obj_dict_t mp_builtin_module_dict_obj = {
.map = {
.all_keys_are_qstrs = 1,
.table_is_fixed_array = 1,
- .used = ARRAY_SIZE(mp_builtin_module_table),
- .alloc = ARRAY_SIZE(mp_builtin_module_table),
+ .used = MP_ARRAY_SIZE(mp_builtin_module_table),
+ .alloc = MP_ARRAY_SIZE(mp_builtin_module_table),
.table = (mp_map_elem_t*)mp_builtin_module_table,
},
};