equal


Description:

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

Compares two Color<!-- -->s 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 Color<!-- -->s as keys in a GenericSet.

Parameters:

v1

a Color

v2

a Color

Returns:

true if the two colors are the same.