Hook.findFuncData

Finds a #GHook in a #GHookList with the given function and data.

class Hook
static
findFuncData
(,,
void* func
,
void* data
)

Parameters

hookList HookList

a #GHookList

needValids bool

%TRUE if #GHook elements which have been destroyed should be skipped

func void*

the function to find

data void*

the data to find

Return Value

Type: Hook

the #GHook with the given @func and @data or %NULL if no matching #GHook is found

Meta