4.10 GEqualFuncFull

Callback: GEqualFuncFull

A procedure given for it is called as (procedure a b) ⇒ %return.

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.

This is a version of GEqualFunc which provides a user-data closure from the caller.

a

Passed: a foreign pointer, or #f.

a value

b

Passed: a foreign pointer, or #f.

a value to compare with

%return

Returned: a boolean.

#t if a = b; #f otherwise

user-data

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

user data provided by the caller