HookList

constructor()(source)

Allocate a new HookList.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)(source)

Allocate a new HookList using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(    seqId: <Error class: unknown class>,     hookSize: <Error class: unknown class>,     isSetup: <Error class: unknown class>,     hooks: Hook?,     dummy3: <Error class: unknown class>)(source)

Allocate a new HookList.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

seqId

the next free #GHook id

hookSize

the size of the #GHookList elements, in bytes

isSetup

1 if the #GHookList has been initialized

hooks

the first #GHook element in the list

dummy3

unused


constructor(    seqId: <Error class: unknown class>,     hookSize: <Error class: unknown class>,     isSetup: <Error class: unknown class>,     hooks: Hook?,     dummy3: <Error class: unknown class>,     scope: <Error class: unknown class>)(source)

Allocate a new HookList using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

seqId

the next free #GHook id

hookSize

the size of the #GHookList elements, in bytes

isSetup

1 if the #GHookList has been initialized

hooks

the first #GHook element in the list

dummy3

unused

scope

The AutofreeScope to allocate this structure in.


constructor(glibHookListPointer: <Error class: unknown class><<Error class: unknown class>>)(source)