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 && map.key_compare == i32_compare && map.value_compare == NULL &&
            map.key_hash == i32_hash && map.policy.should_rehash == MapPolicyLinear.should_rehash &&
Last updated on