Function

GLibHookCheckFunc

since: 2.0

Declaration

gboolean
(* GHookCheckFunc) (
  gpointer data
)

Description

Defines the type of a hook function that can be invoked by g_hook_list_invoke_check().

Available since: 2.0

Parameters

data

Type: gpointer

The data field of the GHook is passed to the hook function here.

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

Return value

Type: gboolean

FALSE if the GHook should be destroyed.