Function Macro
GLibDEFINE_AUTO_CLEANUP_CLEAR_FUNC
Description
Defines the appropriate cleanup function for a type.
This will typically be the _clear()
function for the given type.
With this definition, it will be possible to use g_auto()
with
TypeName
.
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GQueue, g_queue_clear)
This macro should be used unconditionally; it is a no-op on compilers where cleanup is not supported.
Available since: | 2.44 |
This function is not directly available to language bindings |