Table of Contents

Class SList

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class SList
Inheritance
SList
Inherited Members

Constructors

SList()

public SList()

SList(SListOwnedHandle)

public SList(SListOwnedHandle handle)

Parameters

handle SListOwnedHandle

Properties

Handle

public SListOwnedHandle Handle { get; }

Property Value

SListOwnedHandle

Methods

Alloc()

public static SList Alloc()

Returns

SList

Append(SList, IntPtr)

public static SList Append(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

SList

Concat(SList, SList)

public static SList Concat(SList list1, SList list2)

Parameters

list1 SList
list2 SList

Returns

SList

Copy(SList)

public static SList Copy(SList list)

Parameters

list SList

Returns

SList

CopyDeep(SList, CopyFunc)

[Version("2.34")]
public static SList CopyDeep(SList list, CopyFunc func)

Parameters

list SList
func CopyFunc

Returns

SList
public static SList DeleteLink(SList list, SList link)

Parameters

list SList
link SList

Returns

SList

Equals(SList?)

public bool Equals(SList? other)

Parameters

other SList

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Find(SList, IntPtr)

public static SList Find(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

SList

FindCustom(SList, IntPtr, CompareFunc)

public static SList FindCustom(SList list, IntPtr data, CompareFunc func)

Parameters

list SList
data IntPtr
func CompareFunc

Returns

SList

Foreach(SList, Func)

public static void Foreach(SList list, Func func)

Parameters

list SList
func Func

Free(SList)

public static void Free(SList list)

Parameters

list SList

Free1(SList)

public static void Free1(SList list)

Parameters

list SList

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Index(SList, IntPtr)

public static int Index(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

int

Insert(SList, IntPtr, int)

public static SList Insert(SList list, IntPtr data, int position)

Parameters

list SList
data IntPtr
position int

Returns

SList

InsertBefore(SList, SList, IntPtr)

public static SList InsertBefore(SList slist, SList sibling, IntPtr data)

Parameters

slist SList
sibling SList
data IntPtr

Returns

SList

InsertSorted(SList, IntPtr, CompareFunc)

public static SList InsertSorted(SList list, IntPtr data, CompareFunc func)

Parameters

list SList
data IntPtr
func CompareFunc

Returns

SList

InsertSortedWithData(SList, IntPtr, CompareDataFunc)

[Version("2.10")]
public static SList InsertSortedWithData(SList list, IntPtr data, CompareDataFunc func)

Parameters

list SList
data IntPtr
func CompareDataFunc

Returns

SList

Last(SList)

public static SList Last(SList list)

Parameters

list SList

Returns

SList

Length(SList)

public static uint Length(SList list)

Parameters

list SList

Returns

uint

Nth(SList, uint)

public static SList Nth(SList list, uint n)

Parameters

list SList
n uint

Returns

SList

NthData(SList, uint)

public static IntPtr NthData(SList list, uint n)

Parameters

list SList
n uint

Returns

IntPtr

PopAllocator()

public static void PopAllocator()

Position(SList, SList)

public static int Position(SList list, SList llink)

Parameters

list SList
llink SList

Returns

int

Prepend(SList, IntPtr)

public static SList Prepend(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

SList

PushAllocator(Allocator)

public static void PushAllocator(Allocator allocator)

Parameters

allocator Allocator

Remove(SList, IntPtr)

public static SList Remove(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

SList

RemoveAll(SList, IntPtr)

public static SList RemoveAll(SList list, IntPtr data)

Parameters

list SList
data IntPtr

Returns

SList
public static SList RemoveLink(SList list, SList link)

Parameters

list SList
link SList

Returns

SList

Reverse(SList)

public static SList Reverse(SList list)

Parameters

list SList

Returns

SList

Sort(SList, CompareFunc)

public static SList Sort(SList list, CompareFunc compareFunc)

Parameters

list SList
compareFunc CompareFunc

Returns

SList

SortWithData(SList, CompareDataFunc)

public static SList SortWithData(SList list, CompareDataFunc compareFunc)

Parameters

list SList
compareFunc CompareDataFunc

Returns

SList