SList#

class SList(*args, **kwargs)#

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

Methods#

class SList
classmethod pop_allocator() None#

Deprecated since version 2.10: Please do not use it in newly written code

classmethod push_allocator(allocator: Allocator) None#

Deprecated since version 2.10: Please do not use it in newly written code

Parameters:

allocator

Fields#

class SList
data#

Holds the element’s data, which can be a pointer to any kind of data, or any integer value using the Type Conversion Macros

next#

Contains the link to the next element in the list.