diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-20 17:29:58 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-20 17:29:58 +0300 |
commit | 09e3f8f0d1b8156d8d2746d9088671352c0f749d (patch) | |
tree | 53a632c86fe7854e0cc7c4ade6b4e6d4ca6dbf96 /py/modarray.c | |
parent | 74c710187c77ebd5ab8c5a44b07087f2c2ca786e (diff) | |
parent | f6932d650620d3753b5a18df5131227276260f74 (diff) | |
download | micropython-09e3f8f0d1b8156d8d2746d9088671352c0f749d.tar.gz micropython-09e3f8f0d1b8156d8d2746d9088671352c0f749d.zip |
Merge pull request #707 from eblot/master-v1.1.1-build-fixes
Fix missing declaration of assert()
Replace ARRAY_SIZE with MP_ARRAY_SIZE
Diffstat (limited to 'py/modarray.c')
-rw-r--r-- | py/modarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modarray.c b/py/modarray.c index a741a0ecb4..2b9f531f96 100644 --- a/py/modarray.c +++ b/py/modarray.c @@ -40,8 +40,8 @@ STATIC const mp_obj_dict_t mp_module_array_globals = { .map = { .all_keys_are_qstrs = 1, .table_is_fixed_array = 1, - .used = ARRAY_SIZE(mp_module_array_globals_table), - .alloc = ARRAY_SIZE(mp_module_array_globals_table), + .used = MP_ARRAY_SIZE(mp_module_array_globals_table), + .alloc = MP_ARRAY_SIZE(mp_module_array_globals_table), .table = (mp_map_elem_t*)mp_module_array_globals_table, }, }; |