Example #1
0
static int hash_str(void* key) {
    return hashmapHash(key, strlen(key));
}
Example #2
0
static int hash_str(void* key)
{
    printf("key = %s, len = %d\n", (char*)key, strlen((char*)key));
    return hashmapHash(key, strlen((char*)key));
}