HashTable.directEqual

Compares two gpointer arguments and returns TRUE if they are equal. It can be passed to HashTable.new as the key_equal_func parameter, when using opaque pointers compared by pointer value as keys in a glib.HashTable

This equality function is also appropriate for keys that are integers stored in pointers, such as GINT_TO_POINTER (n).

class HashTable
static
bool
directEqual
(
void* v1
,
void* v2
)

Parameters

v1 void*

a key

v2 void*

a key to compare with v1

Return Value

Type: bool

TRUE if the two keys match.