Update assertion
This commit is contained in:
1 parent
b7966f6b61
commit
762d8a8e74
1 file changed
+1
@@ -585,6 +585,7 @@
|
||||
#define DICTI_CONTRACT(name, map) do { \
|
||||
assert(map != NULL); \
|
||||
assert(map->used <= map->upper_limit); \
|
||||
assert(map->upper_limit >= DICTI_UPPER_BOUND(DICTI_INITIAL_SIZE)); \
|
||||
assert(map->used >= map->lower_limit); \
|
||||
assert(M_POWEROF2_P(M_C(name, _array_list_pair_size)(map->table))); \
|
||||
} while (0)
|
||||
|
||||
Reference in new issue
Block a user