MapValueCompare
Description
Value-comparison callback installed at MapInit, or NULL when the map was initialised without value comparison.
Parameters
| Name | Direction | Description |
|---|---|---|
m |
in | Map. |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Map.Type.c:62:
bool result = MapPairCount(&map) == 0 && MapCapacity(&map) == 0 && MapTombstones(&map) == 0 &&
MapEntries(&map) == NULL && MapStates(&map) == NULL && MapKeyCompare(&map) == i32_compare &&
MapValueCompare(&map) == NULL && MapKeyHash(&map) == i32_hash &&
MapPolicy(&map).should_rehash == MapPolicyLinear.should_rehash &&
MapPolicy(&map).next_capacity == MapPolicyLinear.next_capacity &&- In
Map.Type.c:80:
bool result =
MapKeyCompare(&map) == i32_compare && MapValueCompare(&map) == i32_compare && MapKeyHash(&map) == i32_hash;
MapDeinit(&map);
Last updated on