summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-29 22:32:51 +0000
committerDamien <damien.p.george@gmail.com>2013-12-29 22:32:51 +0000
commitdae7eb7226a46856621023a9488f177d451e2c3e (patch)
treef4ad72373a82ca86ad12459333ca299edc0ab8a7 /py/obj.h
parent732407f1bf12364375162e8fb73816532a5d139c (diff)
py: add dict length function, and fix rt_store_set.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 8d857b195..1a7b91aaa 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -206,6 +206,7 @@ void mp_obj_list_store(mp_obj_t self_in, mp_obj_t index, mp_obj_t value);
// 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