| 87 | } |
| 88 | |
| 89 | CBMHashTable *cbm_ht_create_in(cbm_mem_class_t cls, uint32_t initial_capacity) { |
| 90 | return ht_create_at(cls, initial_capacity, HT_SITE()); |
| 91 | } |
| 92 | |
| 93 | static CBMHashTable *ht_create_at(cbm_mem_class_t cls, uint32_t initial_capacity, void *site) { |
| 94 | CBMHashTable *ht = (CBMHashTable *)cbm_calloc(cls, sizeof(*ht)); |