equal


Description:

public static bool equal (void* v1, void* v2)

Compares two Colors and checks if they are the same.

This function can be passed to g_hash_table_new as the key_equal_func parameter, when using Colors as keys in a GenericSet .

Parameters:

v1

a Color

v2

a Color

Returns:

true if the two colors are the same.