DestroyNotify

typealias DestroyNotify = (<Error class: unknown class>?) -> Unit(source)

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.

  • param data the data element.