List

constructor()

Allocate a new List.

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>)

Allocate a new List 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(data: <Error class: unknown class>, next: List?, prev: List?)

Allocate a new List.

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

Parameters

data

holds the element's data, which can be a pointer to any kind of data, or any integer value using the glib-Type-Conversion-Macros

next

contains the link to the next element in the list

prev

contains the link to the previous element in the list


constructor(data: <Error class: unknown class>, next: List?, prev: List?, scope: <Error class: unknown class>)

Allocate a new List using the provided AutofreeScope.

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

Parameters

data

holds the element's data, which can be a pointer to any kind of data, or any integer value using the glib-Type-Conversion-Macros

next

contains the link to the next element in the list

prev

contains the link to the previous element in the list

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)