commit | dae7eb7226a46856621023a9488f177d451e2c3e | [log] [tgz] |
---|---|---|
author | Damien <damien.p.george@gmail.com> | Sun Dec 29 22:32:51 2013 +0000 |
committer | Damien <damien.p.george@gmail.com> | Sun Dec 29 22:32:51 2013 +0000 |
tree | f4ad72373a82ca86ad12459333ca299edc0ab8a7 | |
parent | 732407f1bf12364375162e8fb73816532a5d139c [diff] [blame] |
py: add dict length function, and fix rt_store_set.
diff --git a/py/obj.h b/py/obj.h index 8d857b1..1a7b91a 100644 --- a/py/obj.h +++ b/py/obj.h
@@ -206,6 +206,7 @@ // dict extern const mp_obj_type_t dict_type; +uint mp_obj_dict_len(mp_obj_t self_in); mp_obj_t mp_obj_dict_store(mp_obj_t self_in, mp_obj_t key, mp_obj_t value); // set