commit | ae00d334c6222fa9716135967a7c512b03f08191 | [log] [tgz] |
---|---|---|
author | John R. Lenton <jlenton@gmail.com> | Sun Jan 12 18:23:36 2014 +0000 |
committer | John R. Lenton <jlenton@gmail.com> | Sun Jan 12 19:16:59 2014 +0000 |
tree | 1a1bf915adf2951363e3ec4ac68c2485d9c3f0f2 | |
parent | 4a08067c0c9c8417525e89eef4c3693cdc05b954 [diff] [blame] |
Implemented set.remove
diff --git a/py/map.h b/py/map.h index 5b00e53..2db0ac3 100644 --- a/py/map.h +++ b/py/map.h
@@ -19,9 +19,10 @@ } mp_set_t; typedef enum _mp_map_lookup_kind_t { - MP_MAP_LOOKUP, - MP_MAP_LOOKUP_ADD_IF_NOT_FOUND, - MP_MAP_LOOKUP_REMOVE_IF_FOUND, + MP_MAP_LOOKUP, // 0 + MP_MAP_LOOKUP_ADD_IF_NOT_FOUND, // 1 + MP_MAP_LOOKUP_REMOVE_IF_FOUND, // 2 + MP_MAP_LOOKUP_FIRST = 4, } mp_map_lookup_kind_t; int get_doubling_prime_greater_or_equal_to(int x);