DestroyNotify


Description:

[ CCode ( has_target = false ) ]
public delegate void DestroyNotify (void* data)

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.

Parameters:

data

the data element.


Namespace: GLib
Package: glib-2.0