MapInitWithValueCompare
Description
Initialize a map with key/value comparators.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Map.Insert.c:48:
typedef Map(int, int) IntIntMap;
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap map = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
MapInsertR(&map, 1, 10);- In
Map.Remove.c:44:
typedef Map(int, int) IntIntMap;
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap map = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
MapInsertR(&map, 5, 50);- In
Map.Access.c:24:
typedef Map(int, int) IntIntMap;
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap map = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
MapSetOnlyR(&map, 7, 70);- In
Map.Ops.c:114:
typedef Map(int, int) IntIntMap;
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap first = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
IntIntMap second = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);- In
Map.Ops.c:115:
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap first = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
IntIntMap second = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
MapInsertR(&first, 1, 10);- In
Map.Type.c:77:
typedef Map(int, int) IntIntMap;
DefaultAllocator alloc = DefaultAllocatorInit();
IntIntMap map = MapInitWithValueCompare(i32_hash, i32_compare, i32_compare, &alloc);
bool result =
Last updated on