diff options
| author | Emmanuel Blot <emmanuel.blot@free.fr> | 2014-06-19 18:54:34 +0200 |
|---|---|---|
| committer | Emmanuel Blot <emmanuel.blot@free.fr> | 2014-06-19 18:54:34 +0200 |
| commit | f6932d650620d3753b5a18df5131227276260f74 (patch) | |
| tree | 977c539a77da4fa73d547414b78c266e511cfc46 /py/modgc.c | |
| parent | bf3366a48bca2808ae04ac49e5f5737481d28b57 (diff) | |
Prefix ARRAY_SIZE with micropython prefix MP_
Diffstat (limited to 'py/modgc.c')
| -rw-r--r-- | py/modgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modgc.c b/py/modgc.c index c53eed235..a82a7a0eb 100644 --- a/py/modgc.c +++ b/py/modgc.c @@ -73,8 +73,8 @@ STATIC const mp_obj_dict_t mp_module_gc_globals = { .map = { .all_keys_are_qstrs = 1, .table_is_fixed_array = 1, - .used = ARRAY_SIZE(mp_module_gc_globals_table), - .alloc = ARRAY_SIZE(mp_module_gc_globals_table), + .used = MP_ARRAY_SIZE(mp_module_gc_globals_table), + .alloc = MP_ARRAY_SIZE(mp_module_gc_globals_table), .table = (mp_map_elem_t*)mp_module_gc_globals_table, }, }; |
