summaryrefslogtreecommitdiffstatshomepage
path: root/py/map.h
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-06 19:48:34 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-07 22:51:08 +0000
commit0fcbaa442f538c8ffca8a7387f7dc6d280172a5c (patch)
treec692010a05f3c3d3d8e52e9e09c1359581b49d6e /py/map.h
parentcd0887352d18467ea96728e75255ea36f425450d (diff)
downloadmicropython-0fcbaa442f538c8ffca8a7387f7dc6d280172a5c.tar.gz
micropython-0fcbaa442f538c8ffca8a7387f7dc6d280172a5c.zip
implemented dict.pop
Diffstat (limited to 'py/map.h')
-rw-r--r--py/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/map.h b/py/map.h
index b4592c270a..f0a57758c5 100644
--- a/py/map.h
+++ b/py/map.h
@@ -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);