[ CCode ( has_target = false ) ]
public delegate bool MiniObjectDisposeFunction (MiniObject obj)
Function prototype for when a miniobject has lost its last refcount.
Implementation of the mini object are allowed to revive the passed object by doing a @ref. If the object is not revived after the dispose function, the function should return true and the memory associated with the object is freed.
| obj |
MiniObject to dispose |
|
true if the object should be cleaned up. |