Bytes.equal

Compares the two glib.Bytes values being pointed to and returns TRUE if they are equal.

This function can be passed to HashTable.new as the key_equal_func parameter, when using non-NULL glib.Bytes pointers as keys in a glib.HashTable

class Bytes
bool
equal

Parameters

bytes2 Bytes

a pointer to a glib.Bytes to compare with bytes1

Return Value

Type: bool

TRUE if the two keys match.

Meta

Since

2.32