ref

fun ref(hookList: HookList, hook: Hook): Hook

Increments the reference count for a #GHook.

Return

the @hook that was passed in (since 2.6)

Parameters

hookList

a #GHookList

hook

the #GHook to increment the reference count of