HashTable.doubleHash

Converts a pointer to a gdouble to a hash value. It can be passed to HashTable.new as the hash_func parameter, It can be passed to HashTable.new as the hash_func parameter, when using non-NULL pointers to doubles as keys in a glib.HashTable

class HashTable
static
uint
doubleHash
(
void* v
)

Parameters

v void*

a pointer to a gdouble key

Return Value

Type: uint

a hash value corresponding to the key.

Meta

Since

2.22