Converts a gpointer to a hash value.
It can be passed to
g_hash_table_new() as the
when using opaque pointers compared by pointer value as keys in a
This hash function is also appropriate for keys that are integers
stored in pointers, such as
A #gpointer key.
The argument can be
The data is owned by the caller of the function.