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
Methods
Alloc()
public static SList Alloc()
Returns
Append(SList, IntPtr)
public static SList Append(SList list, IntPtr data)
Parameters
Returns
Concat(SList, SList)
public static SList Concat(SList list1, SList list2)
Parameters
Returns
Copy(SList)
public static SList Copy(SList list)
Parameters
list
SList
Returns
CopyDeep(SList, CopyFunc)
[Version("2.34")]
public static SList CopyDeep(SList list, CopyFunc func)
Parameters
Returns
DeleteLink(SList, SList)
public static SList DeleteLink(SList list, SList link)
Parameters
Returns
Equals(SList?)
public bool Equals(SList? other)
Parameters
other
SList
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Find(SList, IntPtr)
public static SList Find(SList list, IntPtr data)
Parameters
Returns
FindCustom(SList, IntPtr, CompareFunc)
public static SList FindCustom(SList list, IntPtr data, CompareFunc func)
Parameters
list
SListdata
IntPtrfunc
CompareFunc
Returns
Foreach(SList, Func)
public static void Foreach(SList list, Func func)
Parameters
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
Returns
Insert(SList, IntPtr, int)
public static SList Insert(SList list, IntPtr data, int position)
Parameters
Returns
InsertBefore(SList, SList, IntPtr)
public static SList InsertBefore(SList slist, SList sibling, IntPtr data)
Parameters
Returns
InsertSorted(SList, IntPtr, CompareFunc)
public static SList InsertSorted(SList list, IntPtr data, CompareFunc func)
Parameters
list
SListdata
IntPtrfunc
CompareFunc
Returns
InsertSortedWithData(SList, IntPtr, CompareDataFunc)
[Version("2.10")]
public static SList InsertSortedWithData(SList list, IntPtr data, CompareDataFunc func)
Parameters
list
SListdata
IntPtrfunc
CompareDataFunc
Returns
Last(SList)
public static SList Last(SList list)
Parameters
list
SList
Returns
Length(SList)
public static uint Length(SList list)
Parameters
list
SList
Returns
Nth(SList, uint)
public static SList Nth(SList list, uint n)
Parameters
Returns
NthData(SList, uint)
public static IntPtr NthData(SList list, uint n)
Parameters
Returns
PopAllocator()
public static void PopAllocator()
Position(SList, SList)
public static int Position(SList list, SList llink)
Parameters
Returns
Prepend(SList, IntPtr)
public static SList Prepend(SList list, IntPtr data)
Parameters
Returns
PushAllocator(Allocator)
public static void PushAllocator(Allocator allocator)
Parameters
allocator
Allocator
Remove(SList, IntPtr)
public static SList Remove(SList list, IntPtr data)
Parameters
Returns
RemoveAll(SList, IntPtr)
public static SList RemoveAll(SList list, IntPtr data)
Parameters
Returns
RemoveLink(SList, SList)
public static SList RemoveLink(SList list, SList link)
Parameters
Returns
Reverse(SList)
public static SList Reverse(SList list)
Parameters
list
SList
Returns
Sort(SList, CompareFunc)
public static SList Sort(SList list, CompareFunc compareFunc)
Parameters
list
SListcompareFunc
CompareFunc
Returns
SortWithData(SList, CompareDataFunc)
public static SList SortWithData(SList list, CompareDataFunc compareFunc)
Parameters
list
SListcompareFunc
CompareDataFunc