HashTable.strEqual

Compares two strings for byte-by-byte equality and returns %TRUE if they are equal. It can be passed to g_hash_table_new() as the @key_equal_func parameter, when using non-%NULL strings as keys in a #GHashTable.

Note that this function is primarily meant as a hash table comparison function. For a general-purpose, %NULL-safe string comparison function, see g_strcmp0().

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

Parameters

v1 void*

a key

v2 void*

a key to compare with @v1

Return: %TRUE if the two keys match

Meta