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 GenericSet.
Note that this function is primarily meant as a hash table comparison function. For a general-purpose, null-safe string comparison function, see strcmp .
v1 |
a key |
v2 |
a key to compare with |
true if the two keys match |