Skip to content
MapKeyCopyInit

MapKeyCopyInit

Description

Deep-copy init callback wired for map keys, or NULL if the map was initialised without key deep-copy semantics.

Parameters

Name Direction Description
m in Map.

Usage example (Cross-references)

Usage examples (Cross-references)
        );
    
        bool result = (MapKeyCopyInit(&map) == (GenericCopyInit)zstr_init_clone) &&
                      (MapValueCopyDeinit(&map) == (GenericCopyDeinit)zstr_deinit);
    
        bool result = MapKeyHash(&map) == (GenericHash)zstr_hash && MapKeyCompare(&map) == (GenericCompare)zstr_compare &&
                      MapValueCompare(&map) == NULL && MapKeyCopyInit(&map) == (GenericCopyInit)zstr_init_clone &&
                      MapKeyCopyDeinit(&map) == (GenericCopyDeinit)zstr_deinit &&
                      MapValueCopyInit(&map) == (GenericCopyInit)zstr_init_clone &&
Last updated on