}
}
+ UDPC_HashMap_remove(hm, key);
+
uint32_t hash = UDPC_HASH32(key) % hm->capacity;
char *temp = malloc(sizeof(uint32_t) + hm->unitSize);
* Note if size already equals capacity, the hash map's capacity is doubled
* with UDPC_HashMap_realloc(). realloc requires rehashing of all items which
* may be costly.
+ * If an item with the same key already exists in the hash map, it will be
+ * replaced.
* \return Internally managed pointer to inserted data, NULL on fail
*/
void* UDPC_HashMap_insert(UDPC_HashMap *hm, uint32_t key, void *data);