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/builtin.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/builtin.c')
-rw-r--r-- | py/builtin.c | 2 |
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); |