| 118 | } |
| 119 | |
| 120 | uint32_t cbm_ht_count(const CBMHashTable *ht) { |
| 121 | if (!ht) |
| 122 | return 0; |
| 123 | return (uint32_t)cbm_vt_size(&ht->vt); |
| 124 | } |
| 125 | |
| 126 | void cbm_ht_foreach(const CBMHashTable *ht, cbm_ht_iter_fn fn, void *userdata) { |
| 127 | if (!ht || !fn) |
no outgoing calls
no test coverage detected