diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-14 23:55:01 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-14 23:55:01 +0000 |
commit | 9daa78943e58602f74c89a2b5b1ed225f4ccf6cc (patch) | |
tree | a5ea774c04ce313d437654cf49b085732e480791 /py/obj.h | |
parent | 6c2401e935b38ca87fd8f52efbb614a428b6938c (diff) | |
download | micropython-9daa78943e58602f74c89a2b5b1ed225f4ccf6cc.tar.gz micropython-9daa78943e58602f74c89a2b5b1ed225f4ccf6cc.zip |
added enumerate()
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 list_sort(mp_obj_t args, struct _mp_map_t *kwargs); +// enumerate +extern const mp_obj_type_t enumerate_type; + // dict extern const mp_obj_type_t dict_type; uint mp_obj_dict_len(mp_obj_t self_in); |