Function

GLibint64_equal

since: 2.22

Declaration [src]

gboolean
g_int64_equal (
  gconstpointer v1,
  gconstpointer v2
)

Description [src]

Compares the two #gint64 values being pointed to 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 pointers to 64-bit integers as keys in a GHashTable.

Available since: 2.22

Parameters

v1

Type: gconstpointer

A pointer to a #gint64 key.

The data is owned by the caller of the function.
v2

Type: gconstpointer

A pointer to a #gint64 key to compare with v1.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the two keys match.