Bytes.equal

Compares the two GBytes values being pointed to and returns TRUE if they are equal. This function can be passed to g_hash_table_new() as the key_equal_func parameter, when using non-NULL GBytes pointers as keys in a GHashTable. Since 2.32

class Bytes
static
int
equal
(
void* bytes1
,
void* bytes2
)

Parameters

bytes1 void*

a pointer to a GBytes. [type GLib.Bytes]

bytes2 void*

a pointer to a GBytes to compare with bytes1. [type GLib.Bytes]

Return Value

Type: int

TRUE if the two keys match.

Meta