alloc

fun alloc(hookList: HookList): Hook

Allocates space for a #GHook and initializes it.

Return

a new #GHook

Parameters

hookList

a #GHookList