HashTable.gDoubleHash

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

class HashTable
static
uint
gDoubleHash
(
void* v
)

Parameters

v void*

a pointer to a gdouble key

Return Value

Type: uint

a hash value corresponding to the key.

Meta