commit | 1d7fb2f21be8dd6f95e5889442a3735464c94dfb | [log] [tgz] |
---|---|---|
author | John R. Lenton <jlenton@gmail.com> | Sun Jan 12 15:44:26 2014 +0000 |
committer | John R. Lenton <jlenton@gmail.com> | Sun Jan 12 15:44:26 2014 +0000 |
tree | d699ffd73623eaa86cd9adba4f605ffb2750605b | |
parent | 19b14d3d8ae229f17f8b63825f96220db37e3770 [diff] [blame] |
Implemented set.clear
diff --git a/py/map.h b/py/map.h index 5ce4e83..ba6bf9e 100644 --- a/py/map.h +++ b/py/map.h
@@ -32,3 +32,4 @@ 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); +void mp_set_clear(mp_set_t *set);