HashTable.int64Hash

Converts a pointer to a gint64 to a hash value.

It can be passed to HashTable.new as the hash_func parameter, when using non-NULL pointers to 64-bit integer values as keys in a glib.HashTable

class HashTable
static
uint
int64Hash
(
void* v
)

Parameters

v void*

a pointer to a gint64 key

Return Value

Type: uint

a hash value corresponding to the key.

Meta

Since

2.22