diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-06 17:38:47 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-07 22:51:08 +0000 |
commit | 4ce6ceadcad294a62f6fb2b23da262dc5cad0793 (patch) | |
tree | 43d36b56d44ba873988ef498b71026646f4c135f /py/map.h | |
parent | a41fe31322e92f84ecee4f3e6295bed2ec9120fd (diff) | |
download | micropython-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |