MiniObjectDisposeFunction


Description:

[ 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.

Parameters:

obj

MiniObject to dispose

Returns:

true if the object should be cleaned up.


Namespace: Gst
Package: gstreamer-1.0



2022 vala-language.org