4.9 GEqualFunc

Callback: GEqualFunc

A procedure given for it is called as (procedure a) ⇒ %return. If the function that it is given to has no user data for it, it is also passed b, last.

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

a

Passed: a foreign pointer, or #f.

a value

%return

Returned: a boolean.

#t if a = b; #f otherwise

b

Not passed: it is the user data that guile-gi supplied.

a value to compare with