| 98 | } |
| 99 | |
| 100 | const char *cbm_ht_get_key(const CBMHashTable *ht, const char *key) { |
| 101 | if (!ht || !key) |
| 102 | return NULL; |
| 103 | cbm_vt_itr itr = cbm_vt_get(&ht->vt, key); |
| 104 | if (cbm_vt_is_end(itr)) |
| 105 | return NULL; |
| 106 | return itr.data->key; |
| 107 | } |
| 108 | |
| 109 | void *cbm_ht_delete(CBMHashTable *ht, const char *key) { |
| 110 | if (!ht || !key) |
no outgoing calls
no test coverage detected