Struct
GLibHookList
Description [src]
struct GHookList {
gulong seq_id;
guint hook_size : 16;
guint is_setup : 1;
GHook* hooks;
gpointer dummy3;
GHookFinalizeFunc finalize_hook;
None dummy;
}
The GHookList struct represents a list of hook functions.
Structure members
seq_idThe next free
GHookid.hook_sizeThe size of the
GHookListelements, in bytes.is_setup1 if the
GHookListhas been initialized.hooksThe first
GHookelement in the list.dummy3Unused.
finalize_hookThe function to call to finalize a
GHookelement. The default behaviour is to call the hooksdestroyfunction.dummyUnused.
Instance methods
g_hook_list_invoke_check
Calls all of the GHook functions in a GHookList.
Any function which returns FALSE is removed from the GHookList.
g_hook_list_marshal_check
Calls a function on each valid GHook and destroys it if the
function returns FALSE.