Skip to content

MapEntries

Description

Raw pointer to the entries array. For diagnostic inspection only - the layout is MAP_ENTRY_TYPE(m)[MapCapacity(m)] interpreted via MAP_ENTRY_TYPE(m) and gated by the state array. Use the value / cursor APIs above for the supported lookup path.

Parameters

Name Direction Description
m in Map.

Usage example (Cross-references)

Usage examples (Cross-references)
    
        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 &&
Last updated on