Update assertions

This commit is contained in:
Patrick Pelissier committed 2018-02-27 22:41:20 +01:00
1 parent b1443533e0
commit b7966f6b61
1 file changed
+2
+2
View File
@@ -583,7 +583,9 @@
#define DICTI_INITIAL_SIZE 16
#define DICTI_CONTRACT(name, map) do { \
assert(map != NULL); \
assert(map->used <= map->upper_limit); \
assert(map->used >= map->lower_limit); \
assert(M_POWEROF2_P(M_C(name, _array_list_pair_size)(map->table))); \
} while (0)