commit | 9daa78943e58602f74c89a2b5b1ed225f4ccf6cc | [log] [tgz] |
---|---|---|
author | John R. Lenton <jlenton@gmail.com> | Tue Jan 14 23:55:01 2014 +0000 |
committer | John R. Lenton <jlenton@gmail.com> | Tue Jan 14 23:55:01 2014 +0000 |
tree | a5ea774c04ce313d437654cf49b085732e480791 | |
parent | 6c2401e935b38ca87fd8f52efbb614a428b6938c [diff] [blame] |
added enumerate()
diff --git a/py/obj.h b/py/obj.h index dbf9efe..6a6f98d 100644 --- a/py/obj.h +++ b/py/obj.h
@@ -294,6 +294,9 @@ 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);