summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-15 01:10:09 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-15 01:10:09 +0000
commit39b174e00a05dfaf4ac6f2e17cee4892a60e92c3 (patch)
tree9056691f927008e337ad8fd1814c7c4097625b0d /py/obj.h
parentff8007c7d6497b108e8abe80ab3311945a03fe52 (diff)
downloadmicropython-39b174e00a05dfaf4ac6f2e17cee4892a60e92c3.tar.gz
micropython-39b174e00a05dfaf4ac6f2e17cee4892a60e92c3.zip
Added map
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 00d152ec4b..7779c47101 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;