hash

Synopsis

Hash wrapper around khash

Version
0.0.1
Source
clibs/hash
License
MIT

API

Details

KHASH_MAP_INIT_STR ()
KHASH_MAP_INIT_STR  (ptr , void * );

__ac_X31_hash_string ()
khint_t
__ac_X31_hash_string(const char * s);

hash_clear ()
void
hash_clear          (hash_t * self);

hash_del ()
void
hash_del            (hash_t * self, char * key);

hash_get ()
void *
hash_get            (hash_t * self, char * key);

hash_has ()
int
hash_has            (hash_t * self, char * key);

hash_set ()
void
hash_set            (hash_t * self, char * key, void * val);

khash_t ()
typedef
khash_t             (ptr );