init

fun init(hookSize: <Error class: unknown class>)

Initializes a #GHookList. This must be called before the #GHookList is used.

Parameters

hookSize

the size of each element in the #GHookList, typically sizeof (GHook).