summaryrefslogtreecommitdiffstatshomepage
path: root/py/map.h
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-06 17:38:47 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-07 22:51:08 +0000
commit4ce6ceadcad294a62f6fb2b23da262dc5cad0793 (patch)
tree43d36b56d44ba873988ef498b71026646f4c135f /py/map.h
parenta41fe31322e92f84ecee4f3e6295bed2ec9120fd (diff)
downloadmicropython-4ce6ceadcad294a62f6fb2b23da262dc5cad0793.tar.gz
micropython-4ce6ceadcad294a62f6fb2b23da262dc5cad0793.zip
Added dict.clear.
Added 0 to the list of primes. Funky primes, these.
Diffstat (limited to 'py/map.h')
-rw-r--r--py/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/map.h b/py/map.h
index f8ca886aa4..b4592c270a 100644
--- a/py/map.h
+++ b/py/map.h
@@ -28,6 +28,7 @@ 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_qstr_map_lookup(mp_map_t *map, qstr index, bool add_if_not_found);
+void mp_map_clear(mp_map_t *map);
void mp_set_init(mp_set_t *set, int n);
mp_obj_t mp_set_lookup(mp_set_t *set, mp_obj_t index, bool add_if_not_found);