src/cx/hash_map.h

changeset 993
b642eca4b956
parent 989
8aa57a7fecc4
equal deleted inserted replaced
992:14ca894190fd 993:b642eca4b956
82 * @param buckets the initial number of buckets in this hash map 82 * @param buckets the initial number of buckets in this hash map
83 * @return a pointer to the new hash map 83 * @return a pointer to the new hash map
84 */ 84 */
85 cx_attr_nodiscard 85 cx_attr_nodiscard
86 cx_attr_malloc 86 cx_attr_malloc
87 cx_attr_dealloc(cxMapDestroy, 1) 87 cx_attr_dealloc(cxMapFree, 1)
88 CxMap *cxHashMapCreate( 88 CxMap *cxHashMapCreate(
89 const CxAllocator *allocator, 89 const CxAllocator *allocator,
90 size_t itemsize, 90 size_t itemsize,
91 size_t buckets 91 size_t buckets
92 ); 92 );

mercurial