HashTable.gIntHash

Converts a pointer to a gint to a hash value. It can be passed to g_hash_table_new() as the hash_func parameter, when using non-NULL pointers to integer values as keys in a GHashTable.

class HashTable
static
uint
gIntHash
(
void* v
)

Parameters

v void*

a pointer to a gint key

Return Value

Type: uint

a hash value corresponding to the key.

Meta