strEqual

Compares two strings for byte-by-byte equality and returns true if they are equal. It can be passed to glib.hash_table.HashTable.new_ as the key_equal_func parameter, when using non-null strings as keys in a #GHashTable.

This function is typically used for hash table comparisons, but can be used for general purpose comparisons of non-null strings. For a null-safe string comparison function, see glib.global.strcmp0.

bool
strEqual
(
const(void)* v1
,
const(void)* v2
)

Parameters

v1 const(void)*

a key

v2 const(void)*

a key to compare with v1

Return Value

Type: bool

true if the two keys match