Hook.findFuncData

Finds a glib.Hook in a glib.HookList with the given function and data.

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

Parameters

hookList HookList
needValids bool

TRUE if glib.Hook 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 glib.Hook with the given func and data or NULL if no matching glib.Hook is found