From 39b174e00a05dfaf4ac6f2e17cee4892a60e92c3 Mon Sep 17 00:00:00 2001 From: John R. Lenton Date: Wed, 15 Jan 2014 01:10:09 +0000 Subject: Added map --- py/obj.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'py/obj.h') diff --git a/py/obj.h b/py/obj.h index 00d152ec4..7779c4710 100644 --- a/py/obj.h +++ b/py/obj.h @@ -294,6 +294,9 @@ void mp_obj_list_get(mp_obj_t self_in, uint *len, mp_obj_t **items); void mp_obj_list_store(mp_obj_t self_in, mp_obj_t index, mp_obj_t value); mp_obj_t mp_obj_list_sort(mp_obj_t args, struct _mp_map_t *kwargs); +// map (the python builtin, not the dict implementation detail) +extern const mp_obj_type_t map_type; + // enumerate extern const mp_obj_type_t enumerate_type; -- cgit v1.2.3