docs/Writerside/topics/hash_map.h.md

changeset 1318
12fa1d37fe48
parent 1243
13e15cd529ae
equal deleted inserted replaced
1317:eeb2fc3850e2 1318:12fa1d37fe48
19 int cxMapRehash(CxMap *map); 19 int cxMapRehash(CxMap *map);
20 ``` 20 ```
21 21
22 The function `cxHashMapCreate()` creates a new [map](map.h.md) where both the map structure 22 The function `cxHashMapCreate()` creates a new [map](map.h.md) where both the map structure
23 and the contained buckets are allocated by the specified `allocator`. 23 and the contained buckets are allocated by the specified `allocator`.
24 The default stdlib allocator is used in `cxHashMapCreateSimple()`. 24 The [default allocator](allocator.h.md#default-allocator) is used in `cxHashMapCreateSimple()`.
25 25
26 The map will store items of size `itemsize`. 26 The map will store items of size `itemsize`.
27 You can use the `CX_STORE_POINTERS` macro for `itemsize` to indicate that the map shall store 27 You can use the `CX_STORE_POINTERS` macro for `itemsize` to indicate that the map shall store
28 pointers instead of actual items. 28 pointers instead of actual items.
29 29

mercurial