Function

GLibEqualFunc

Declaration

gboolean
(* GEqualFunc) (
  gconstpointer a,
  gconstpointer b
)

Description

Specifies the type of a function used to test two values for equality. The function should return TRUE if both values are equal and FALSE otherwise.

Parameters

a gconstpointer
 

A value.

 The argument can be NULL.
 The data is owned by the caller of the function.
b gconstpointer
 

A value to compare with.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if a = b; FALSE otherwise.