Esempio n. 1
0
/* This function initializes the hash. By default keys are hashed and compared
 * by pointers.
 */
void khash_init(khash *self) {
    khash_init_func(self, khash_pointer_key, khash_pointer_cmp);
}
Esempio n. 2
0
File: khash.c Progetto: miraeye/f265
/* This function initializes the hash. By default keys are hashed and compared
 * by integers.
 */
void khash_init(khash *self) {
    khash_init_func(self, kutil_pointer_hc, kutil_int32_eq);
}