4.7 GDestroyNotify

Callback: GDestroyNotify

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

Specifies the type of function which is called when a data element is destroyed. It is passed the pointer to the data element and should free any memory and resources allocated for it.

data

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

the data element.