void qev_cleanup_fn(const qev_cb fn)
Calls qev_cleanup_fn_full() with last=FALSE.
void qev_cleanup_and_null_full(void **ptrptr, const qev_free_fn free_fn, const gboolean last)
Adds a pointer to be cleaned up and set to NULL on exit.
void(* qev_cb)()
A single callback that takes nothing and returns nothing.
Definition: qev.h:180
void qev_cleanup_and_null(void **ptrptr, const qev_free_fn free_fn)
Calls qev_cleanup_and_null_full() with last=FALSE.
void qev_cleanup_full(void *ptr, const qev_free_fn free_fn, const gboolean last)
Adds a pointer to a thread-local that needs to be cleaned up on exit.
Provides all the qev_* functions that are needed for creating an event loop.
void qev_cleanup(void *ptr, const qev_free_fn free_fn)
Calls qev_cleanup() with last=FALSE.
void(* qev_free_fn)(void *)
Function type for a typical free function.
Definition: qev.h:185
void qev_cleanup_fn_full(const qev_cb cb, const gboolean last)
Adds a simple function to be called on exit.