SList

class SList(val glibSListPointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyInstance(source)

The #GSList struct is used for each element in the singly-linked list.

Skipped during bindings generation

  • parameter func: CompareFunc

  • parameter free_func: DestroyNotify

  • parameter func: CompareFunc

  • parameter compare_func: CompareFunc

Constructors

Link copied to clipboard
constructor()

Allocate a new SList.

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

Allocate a new SList using the provided AutofreeScope.

constructor(data: <Error class: unknown class>, next: SList?)

Allocate a new SList.

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

Allocate a new SList using the provided AutofreeScope.

constructor(glibSListPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var data: <Error class: unknown class>

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

Link copied to clipboard
val glibSListPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>
Link copied to clipboard
var next: SList?

contains the link to the next element in the list.

Functions

Link copied to clipboard
open override fun addCleaner(cleaner: <Error class: unknown class>): Boolean

Registers a cleaner to be executed when this proxy object is garbage collected.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun removeCleaner(cleaner: <Error class: unknown class>): Boolean

Removes a previously registered cleaner from this proxy object.

Link copied to clipboard
open override fun toString(): String