4.16 GHFunc

Callback: GHFunc

A procedure given for it is called as (procedure key value).

Specifies the type of the function passed to hash-table-foreach. It is called with each key/value pair, together with the user-data parameter which is passed to hash-table-foreach.

key

Passed: a foreign pointer, or #f.

a key

value

Passed: a foreign pointer, or #f.

the value corresponding to the key

user-data

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

user data passed to hash-table-foreach