SList
Allocate a new SList.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new SList using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new SList.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
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
contains the link to the next element in the list.
Allocate a new SList using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
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
contains the link to the next element in the list.
The AutofreeScope to allocate this structure in.