5.2 GBoxedCopyFunc

Callback: GBoxedCopyFunc

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

This function is provided by the user and should produce a copy of the passed in boxed structure.

%return

Returned: a foreign pointer, or a bytevector.

The newly created copy of the boxed structure.

boxed

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

The boxed structure to be copied.