HashTable.gDirectHash

Converts a gpointer to a hash value. It can be passed to g_hash_table_new() as the hash_func parameter, when using pointers as keys in a GHashTable.

class HashTable
static
uint
gDirectHash
(
void* v
)

Parameters

v void*

a gpointer key

Return Value

Type: uint

a hash value corresponding to the key.

Meta