HashTable.doubleHash

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.

class HashTable
static
uint
doubleHash
(
void* v
)

Parameters

v void*

a pointer to a #gdouble key

Return: a hash value corresponding to the key.

Meta

Since

2.22