int mtev_hash_size(mtev_hash_table *h) { if(h->u.hs.hf == NULL) { mtevL(mtev_error, "warning: null hashtable in mtev_hash_size... initializing\n"); mtev_stacktrace(mtev_error); mtev_hash_init(h); } return ck_hs_count(&h->u.hs); }
static size_t set_count(void) { return ck_hs_count(&hs); }