Function

AgsDestroyEntryalloc

since: 3.0.0

Declaration [src]

AgsDestroyEntry*
ags_destroy_entry_alloc (
  gpointer ptr,
  AgsDestroyFunc destroy_func
)

Description [src]

Allocated a destroy entry.

Available since: 3.0.0

Parameters

ptr

Type: gpointer

A pointer.

The argument can be NULL.
The data is owned by the caller of the function.
destroy_func

Type: AgsDestroyFunc

The ptrs destroy function.

Return value

Type: AgsDestroyEntry*

The allocated AgsDestroyEntry.

The data is owned by the called function.
The return value can be NULL.