diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-06 19:48:34 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-07 22:51:08 +0000 |
commit | 0fcbaa442f538c8ffca8a7387f7dc6d280172a5c (patch) | |
tree | c692010a05f3c3d3d8e52e9e09c1359581b49d6e /py/map.h | |
parent | cd0887352d18467ea96728e75255ea36f425450d (diff) | |
download | micropython-0fcbaa442f538c8ffca8a7387f7dc6d280172a5c.tar.gz micropython-0fcbaa442f538c8ffca8a7387f7dc6d280172a5c.zip |
implemented dict.pop
Diffstat (limited to 'py/map.h')
-rw-r--r-- | py/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ typedef struct _mp_set_t { int get_doubling_prime_greater_or_equal_to(int x); void mp_map_init(mp_map_t *map, mp_map_kind_t kind, int n); mp_map_t *mp_map_new(mp_map_kind_t kind, int n); -mp_map_elem_t* mp_map_lookup_helper(mp_map_t *map, mp_obj_t index, bool add_if_not_found); +mp_map_elem_t* mp_map_lookup_helper(mp_map_t *map, mp_obj_t index, bool add_if_not_found, bool remove_if_found); mp_map_elem_t* mp_qstr_map_lookup(mp_map_t *map, qstr index, bool add_if_not_found); void mp_map_clear(mp_map_t *map); |