diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-15 01:10:09 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-15 01:10:09 +0000 |
commit | 39b174e00a05dfaf4ac6f2e17cee4892a60e92c3 (patch) | |
tree | 9056691f927008e337ad8fd1814c7c4097625b0d /py/obj.h | |
parent | ff8007c7d6497b108e8abe80ab3311945a03fe52 (diff) | |
download | micropython-39b174e00a05dfaf4ac6f2e17cee4892a60e92c3.tar.gz micropython-39b174e00a05dfaf4ac6f2e17cee4892a60e92c3.zip |
Added map
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |