Top |
#define | AGS_DESTROY_ENTRY() |
void | (*AgsDestroyFunc) () |
AgsDestroyEntry * | ags_destroy_entry_alloc () |
void | ags_destroy_worker_add () |
AgsDestroyWorker * | ags_destroy_worker_get_instance () |
AgsDestroyWorker * | ags_destroy_worker_new () |
The AgsDestroyWorker does non-realtime work. You might want give it the responsibility to destroy your objects.
AgsDestroyEntry * ags_destroy_entry_alloc (gpointer ptr
,AgsDestroyFunc destroy_func
);
Allocated a destroy entry.
Since: 3.0.0
void ags_destroy_worker_add (AgsDestroyWorker *destroy_worker
,gpointer ptr
,AgsDestroyFunc destroy_func
);
Add ptr
for destruction using destroy_func
.
destroy_worker |
the AgsDestroyWorker. |
[type gpointer] |
ptr |
the gpointer to destroy |
|
destroy_func |
the AgsDestroyFunc. |
[scope call] |
Since: 3.0.0
AgsDestroyWorker * ags_destroy_worker_get_instance ();
Get your destroy worker instance.
Since: 3.0.0
AgsDestroyWorker * ags_destroy_worker_new ();
Create a new AgsDestroyWorker.
Since: 3.0.0