| 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 ); |