Class Functions
public class Functions
- Inheritance
-
Functions
- Inherited Members
Methods
Abort()
Calls native function g_abort. Version: 2.50
[Version("2.50")]
public static extern void Abort()
Access(NonNullablePlatformStringHandle, int)
Calls native function g_access. Version: 2.8
[Version("2.8")]
public static extern int Access(NonNullablePlatformStringHandle filename, int mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AlignedAlloc(nuint, nuint, nuint)
Calls native function g_aligned_alloc. Version: 2.72
[Version("2.72")]
public static extern IntPtr AlignedAlloc(nuint nBlocks, nuint nBlockBytes, nuint alignment)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
alignment
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
AlignedAlloc0(nuint, nuint, nuint)
Calls native function g_aligned_alloc0. Version: 2.72
[Version("2.72")]
public static extern IntPtr AlignedAlloc0(nuint nBlocks, nuint nBlockBytes, nuint alignment)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
alignment
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
AlignedFree(IntPtr)
Calls native function g_aligned_free. Version: 2.72
[Version("2.72")]
public static extern void AlignedFree(IntPtr mem)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
AlignedFreeSized(IntPtr, nuint, nuint)
Calls native function g_aligned_free_sized. Version: 2.76
[Version("2.76")]
public static extern void AlignedFreeSized(IntPtr mem, nuint alignment, nuint size)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
alignment
nuintTransfer ownership: None Nullable: False
size
nuintTransfer ownership: None Nullable: False
AsciiDigitValue(sbyte)
Calls native function g_ascii_digit_value.
public static extern int AsciiDigitValue(sbyte c)
Parameters
c
sbyteTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AsciiDtostr(NonNullableUtf8StringHandle, int, double)
Calls native function g_ascii_dtostr.
public static extern NonNullableUtf8StringOwnedHandle AsciiDtostr(NonNullableUtf8StringHandle buffer, int bufLen, double d)
Parameters
buffer
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
bufLen
intTransfer ownership: None Nullable: False
d
doubleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
AsciiFormatd(NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, double)
Calls native function g_ascii_formatd.
public static extern NonNullableUtf8StringOwnedHandle AsciiFormatd(NonNullableUtf8StringHandle buffer, int bufLen, NonNullableUtf8StringHandle format, double d)
Parameters
buffer
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
bufLen
intTransfer ownership: None Nullable: False
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
d
doubleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
AsciiStrcasecmp(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_ascii_strcasecmp.
public static extern int AsciiStrcasecmp(NonNullableUtf8StringHandle s1, NonNullableUtf8StringHandle s2)
Parameters
s1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
s2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AsciiStrdown(NonNullableUtf8StringHandle, long)
Calls native function g_ascii_strdown.
public static extern NonNullableUtf8StringOwnedHandle AsciiStrdown(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
AsciiStringToSigned(NonNullableUtf8StringHandle, uint, long, long, out long, out ErrorOwnedHandle)
Calls native function g_ascii_string_to_signed. Version: 2.54
[Version("2.54")]
public static extern bool AsciiStringToSigned(NonNullableUtf8StringHandle str, uint @base, long min, long max, out long outNum, out ErrorOwnedHandle error)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
base
uintmin
longTransfer ownership: None Nullable: False
max
longTransfer ownership: None Nullable: False
outNum
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
AsciiStringToUnsigned(NonNullableUtf8StringHandle, uint, ulong, ulong, out ulong, out ErrorOwnedHandle)
Calls native function g_ascii_string_to_unsigned. Version: 2.54
[Version("2.54")]
public static extern bool AsciiStringToUnsigned(NonNullableUtf8StringHandle str, uint @base, ulong min, ulong max, out ulong outNum, out ErrorOwnedHandle error)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
base
uintmin
ulongTransfer ownership: None Nullable: False
max
ulongTransfer ownership: None Nullable: False
outNum
ulongTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
AsciiStrncasecmp(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_ascii_strncasecmp.
public static extern int AsciiStrncasecmp(NonNullableUtf8StringHandle s1, NonNullableUtf8StringHandle s2, nuint n)
Parameters
s1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
s2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
n
nuintTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AsciiStrtod(NonNullableUtf8StringHandle, out NonNullableUtf8StringUnownedHandle)
Calls native function g_ascii_strtod.
public static extern double AsciiStrtod(NonNullableUtf8StringHandle nptr, out NonNullableUtf8StringUnownedHandle endptr)
Parameters
nptr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
endptr
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
AsciiStrtoll(NonNullableUtf8StringHandle, out NonNullableUtf8StringUnownedHandle, uint)
Calls native function g_ascii_strtoll. Version: 2.12
[Version("2.12")]
public static extern long AsciiStrtoll(NonNullableUtf8StringHandle nptr, out NonNullableUtf8StringUnownedHandle endptr, uint @base)
Parameters
nptr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
endptr
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
base
uint
Returns
- long
Transfer ownership: None Nullable: False
AsciiStrtoull(NonNullableUtf8StringHandle, out NonNullableUtf8StringUnownedHandle, uint)
Calls native function g_ascii_strtoull. Version: 2.2
[Version("2.2")]
public static extern ulong AsciiStrtoull(NonNullableUtf8StringHandle nptr, out NonNullableUtf8StringUnownedHandle endptr, uint @base)
Parameters
nptr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
endptr
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
base
uint
Returns
- ulong
Transfer ownership: None Nullable: False
AsciiStrup(NonNullableUtf8StringHandle, long)
Calls native function g_ascii_strup.
public static extern NonNullableUtf8StringOwnedHandle AsciiStrup(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
AsciiTolower(sbyte)
Calls native function g_ascii_tolower.
public static extern sbyte AsciiTolower(sbyte c)
Parameters
c
sbyteTransfer ownership: None Nullable: False
Returns
- sbyte
Transfer ownership: None Nullable: False
AsciiToupper(sbyte)
Calls native function g_ascii_toupper.
public static extern sbyte AsciiToupper(sbyte c)
Parameters
c
sbyteTransfer ownership: None Nullable: False
Returns
- sbyte
Transfer ownership: None Nullable: False
AsciiXdigitValue(sbyte)
Calls native function g_ascii_xdigit_value.
public static extern int AsciiXdigitValue(sbyte c)
Parameters
c
sbyteTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AssertWarning(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_assert_warning.
public static extern void AssertWarning(NonNullableUtf8StringHandle logDomain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle prettyFunction, NonNullableUtf8StringHandle expression)
Parameters
logDomain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
prettyFunction
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expression
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
AssertionMessage(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_assertion_message.
public static extern void AssertionMessage(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle message)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
message
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
AssertionMessageCmpint(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, ulong, NonNullableUtf8StringHandle, ulong, sbyte)
Calls native function g_assertion_message_cmpint.
public static extern void AssertionMessageCmpint(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle expr, ulong arg1, NonNullableUtf8StringHandle cmp, ulong arg2, sbyte numtype)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg1
ulongTransfer ownership: None Nullable: False
cmp
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg2
ulongTransfer ownership: None Nullable: False
numtype
sbyteTransfer ownership: None Nullable: False
AssertionMessageCmpnum(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, double, NonNullableUtf8StringHandle, double, sbyte)
Calls native function g_assertion_message_cmpnum.
public static extern void AssertionMessageCmpnum(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle expr, double arg1, NonNullableUtf8StringHandle cmp, double arg2, sbyte numtype)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg1
doubleTransfer ownership: None Nullable: False
cmp
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg2
doubleTransfer ownership: None Nullable: False
numtype
sbyteTransfer ownership: None Nullable: False
AssertionMessageCmpstr(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_assertion_message_cmpstr.
public static extern void AssertionMessageCmpstr(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle expr, NonNullableUtf8StringHandle arg1, NonNullableUtf8StringHandle cmp, NonNullableUtf8StringHandle arg2)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cmp
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
AssertionMessageCmpstrv(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_assertion_message_cmpstrv.
public static extern void AssertionMessageCmpstrv(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle expr, NonNullableUtf8StringHandle arg1, NonNullableUtf8StringHandle arg2, nuint firstWrongIdx)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
arg2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
firstWrongIdx
nuintTransfer ownership: None Nullable: False
AssertionMessageError(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, ErrorHandle, Quark, int)
Calls native function g_assertion_message_error.
public static extern void AssertionMessageError(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NonNullableUtf8StringHandle expr, ErrorHandle error, Quark errorDomain, int errorCode)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
error
ErrorHandleTransfer ownership: None Nullable: False
errorDomain
QuarkTransfer ownership: None Nullable: False
errorCode
intTransfer ownership: None Nullable: False
AssertionMessageExpr(NullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_assertion_message_expr.
public static extern void AssertionMessageExpr(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NullableUtf8StringHandle expr)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expr
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Atexit(VoidFunc)
Calls native function g_atexit.
public static extern void Atexit(VoidFunc func)
Parameters
func
VoidFuncTransfer ownership: None Nullable: False
AtomicIntAdd(ref int, int)
Calls native function g_atomic_int_add. Version: 2.4
[Version("2.4")]
public static extern int AtomicIntAdd(ref int atomic, int val)
Parameters
atomic
intTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AtomicIntAnd(ref uint, uint)
Calls native function g_atomic_int_and. Version: 2.30
[Version("2.30")]
public static extern uint AtomicIntAnd(ref uint atomic, uint val)
Parameters
atomic
uintTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
AtomicIntCompareAndExchange(ref int, int, int)
Calls native function g_atomic_int_compare_and_exchange. Version: 2.4
[Version("2.4")]
public static extern bool AtomicIntCompareAndExchange(ref int atomic, int oldval, int newval)
Parameters
atomic
intTransfer ownership: None Nullable: False
oldval
intTransfer ownership: None Nullable: False
newval
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AtomicIntCompareAndExchangeFull(ref int, int, int, out int)
Calls native function g_atomic_int_compare_and_exchange_full. Version: 2.74
[Version("2.74")]
public static extern bool AtomicIntCompareAndExchangeFull(ref int atomic, int oldval, int newval, out int preval)
Parameters
atomic
intTransfer ownership: None Nullable: False
oldval
intTransfer ownership: None Nullable: False
newval
intTransfer ownership: None Nullable: False
preval
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AtomicIntDecAndTest(ref int)
Calls native function g_atomic_int_dec_and_test. Version: 2.4
[Version("2.4")]
public static extern bool AtomicIntDecAndTest(ref int atomic)
Parameters
atomic
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AtomicIntExchange(ref int, int)
Calls native function g_atomic_int_exchange. Version: 2.74
[Version("2.74")]
public static extern int AtomicIntExchange(ref int atomic, int newval)
Parameters
atomic
intTransfer ownership: None Nullable: False
newval
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AtomicIntExchangeAndAdd(ref int, int)
Calls native function g_atomic_int_exchange_and_add. Version: 2.4
[Version("2.4")]
public static extern int AtomicIntExchangeAndAdd(ref int atomic, int val)
Parameters
atomic
intTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AtomicIntGet(ref int)
Calls native function g_atomic_int_get. Version: 2.4
[Version("2.4")]
public static extern int AtomicIntGet(ref int atomic)
Parameters
atomic
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
AtomicIntInc(ref int)
Calls native function g_atomic_int_inc. Version: 2.4
[Version("2.4")]
public static extern void AtomicIntInc(ref int atomic)
Parameters
atomic
intTransfer ownership: None Nullable: False
AtomicIntOr(ref uint, uint)
Calls native function g_atomic_int_or. Version: 2.30
[Version("2.30")]
public static extern uint AtomicIntOr(ref uint atomic, uint val)
Parameters
atomic
uintTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
AtomicIntSet(ref int, int)
Calls native function g_atomic_int_set. Version: 2.4
[Version("2.4")]
public static extern void AtomicIntSet(ref int atomic, int newval)
Parameters
atomic
intTransfer ownership: None Nullable: False
newval
intTransfer ownership: None Nullable: False
AtomicIntXor(ref uint, uint)
Calls native function g_atomic_int_xor. Version: 2.30
[Version("2.30")]
public static extern uint AtomicIntXor(ref uint atomic, uint val)
Parameters
atomic
uintTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
AtomicPointerAnd(IntPtr, nuint)
Calls native function g_atomic_pointer_and. Version: 2.30
[Version("2.30")]
public static extern UIntPtr AtomicPointerAnd(IntPtr atomic, nuint val)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
val
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
AtomicPointerCompareAndExchange(IntPtr, IntPtr, IntPtr)
Calls native function g_atomic_pointer_compare_and_exchange. Version: 2.4
[Version("2.4")]
public static extern bool AtomicPointerCompareAndExchange(IntPtr atomic, IntPtr oldval, IntPtr newval)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
oldval
IntPtrTransfer ownership: None Nullable: True
newval
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
AtomicPointerCompareAndExchangeFull(IntPtr, IntPtr, IntPtr, out IntPtr)
Calls native function g_atomic_pointer_compare_and_exchange_full. Version: 2.74
[Version("2.74")]
public static extern bool AtomicPointerCompareAndExchangeFull(IntPtr atomic, IntPtr oldval, IntPtr newval, out IntPtr preval)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
oldval
IntPtrTransfer ownership: None Nullable: True
newval
IntPtrTransfer ownership: None Nullable: True
preval
IntPtrTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AtomicPointerExchange(IntPtr, IntPtr)
Calls native function g_atomic_pointer_exchange. Version: 2.74
[Version("2.74")]
public static extern IntPtr AtomicPointerExchange(IntPtr atomic, IntPtr newval)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: True
newval
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
AtomicPointerGet(IntPtr)
Calls native function g_atomic_pointer_get. Version: 2.4
[Version("2.4")]
public static extern IntPtr AtomicPointerGet(IntPtr atomic)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
AtomicPointerOr(IntPtr, nuint)
Calls native function g_atomic_pointer_or. Version: 2.30
[Version("2.30")]
public static extern UIntPtr AtomicPointerOr(IntPtr atomic, nuint val)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
val
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
AtomicPointerSet(IntPtr, IntPtr)
Calls native function g_atomic_pointer_set. Version: 2.4
[Version("2.4")]
public static extern void AtomicPointerSet(IntPtr atomic, IntPtr newval)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
newval
IntPtrTransfer ownership: None Nullable: True
AtomicPointerXor(IntPtr, nuint)
Calls native function g_atomic_pointer_xor. Version: 2.30
[Version("2.30")]
public static extern UIntPtr AtomicPointerXor(IntPtr atomic, nuint val)
Parameters
atomic
IntPtrTransfer ownership: None Nullable: False
val
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
AtomicRcBoxAcquire(IntPtr)
Calls native function g_atomic_rc_box_acquire. Version: 2.58
[Version("2.58")]
public static extern IntPtr AtomicRcBoxAcquire(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AtomicRcBoxAlloc(nuint)
Calls native function g_atomic_rc_box_alloc. Version: 2.58
[Version("2.58")]
public static extern IntPtr AtomicRcBoxAlloc(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AtomicRcBoxAlloc0(nuint)
Calls native function g_atomic_rc_box_alloc0. Version: 2.58
[Version("2.58")]
public static extern IntPtr AtomicRcBoxAlloc0(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AtomicRcBoxDup(nuint, IntPtr)
Calls native function g_atomic_rc_box_dup. Version: 2.58
[Version("2.58")]
public static extern IntPtr AtomicRcBoxDup(nuint blockSize, IntPtr memBlock)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AtomicRcBoxGetSize(IntPtr)
Calls native function g_atomic_rc_box_get_size. Version: 2.58
[Version("2.58")]
public static extern nuint AtomicRcBoxGetSize(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
AtomicRcBoxRelease(IntPtr)
Calls native function g_atomic_rc_box_release. Version: 2.58
[Version("2.58")]
public static extern void AtomicRcBoxRelease(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: Full Nullable: False
AtomicRcBoxReleaseFull(IntPtr, DestroyNotify)
Calls native function g_atomic_rc_box_release_full. Version: 2.58
[Version("2.58")]
public static extern void AtomicRcBoxReleaseFull(IntPtr memBlock, DestroyNotify clearFunc)
Parameters
memBlock
IntPtrTransfer ownership: Full Nullable: False
clearFunc
DestroyNotifyTransfer ownership: None Nullable: False
AtomicRefCountCompare(ref int, int)
Calls native function g_atomic_ref_count_compare. Version: 2.58
[Version("2.58")]
public static extern bool AtomicRefCountCompare(ref int arc, int val)
Parameters
Returns
- bool
Transfer ownership: None Nullable: False
AtomicRefCountDec(ref int)
Calls native function g_atomic_ref_count_dec. Version: 2.58
[Version("2.58")]
public static extern bool AtomicRefCountDec(ref int arc)
Parameters
arc
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AtomicRefCountInc(ref int)
Calls native function g_atomic_ref_count_inc. Version: 2.58
[Version("2.58")]
public static extern void AtomicRefCountInc(ref int arc)
Parameters
arc
intTransfer ownership: None Nullable: False
AtomicRefCountInit(ref int)
Calls native function g_atomic_ref_count_init. Version: 2.58
[Version("2.58")]
public static extern void AtomicRefCountInit(ref int arc)
Parameters
arc
intTransfer ownership: None Nullable: False
Base64Decode(NonNullableUtf8StringHandle, out nuint)
Calls native function g_base64_decode. Version: 2.12
[Version("2.12")]
public static extern byte[] Base64Decode(NonNullableUtf8StringHandle text, out nuint outLen)
Parameters
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
outLen
nuintTransfer ownership: Full Nullable: False
Returns
- byte[]
Transfer ownership: Full Nullable: False
Base64DecodeInplace(ref byte, ref nuint)
Calls native function g_base64_decode_inplace. Version: 2.20
[Version("2.20")]
public static extern IntPtr Base64DecodeInplace(ref byte text, ref nuint outLen)
Parameters
text
byteTransfer ownership: Full Nullable: False
outLen
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
Base64DecodeStep(ref byte, nuint, ref byte, ref int, ref uint)
Calls native function g_base64_decode_step. Version: 2.12
[Version("2.12")]
public static extern nuint Base64DecodeStep(ref byte @in, nuint len, ref byte @out, ref int state, ref uint save)
Parameters
in
bytelen
nuintTransfer ownership: None Nullable: False
out
bytestate
intTransfer ownership: Full Nullable: False
save
uintTransfer ownership: Full Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Base64Encode(ref byte, nuint)
Calls native function g_base64_encode. Version: 2.12
[Version("2.12")]
public static extern NonNullableUtf8StringOwnedHandle Base64Encode(ref byte data, nuint len)
Parameters
data
byteTransfer ownership: None Nullable: True
len
nuintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Base64EncodeClose(bool, out byte[], ref int, ref int)
Calls native function g_base64_encode_close. Version: 2.12
[Version("2.12")]
public static extern nuint Base64EncodeClose(bool breakLines, out byte[] @out, ref int state, ref int save)
Parameters
breakLines
boolTransfer ownership: None Nullable: False
out
byte[]state
intTransfer ownership: Full Nullable: False
save
intTransfer ownership: Full Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Base64EncodeStep(ref byte, nuint, bool, out byte[], ref int, ref int)
Calls native function g_base64_encode_step. Version: 2.12
[Version("2.12")]
public static extern nuint Base64EncodeStep(ref byte @in, nuint len, bool breakLines, out byte[] @out, ref int state, ref int save)
Parameters
in
bytelen
nuintTransfer ownership: None Nullable: False
breakLines
boolTransfer ownership: None Nullable: False
out
byte[]state
intTransfer ownership: Full Nullable: False
save
intTransfer ownership: Full Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Basename(NonNullablePlatformStringHandle)
Calls native function g_basename.
public static extern NonNullablePlatformStringUnownedHandle Basename(NonNullablePlatformStringHandle fileName)
Parameters
fileName
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
BitLock(ref int, int)
Calls native function g_bit_lock. Version: 2.24
[Version("2.24")]
public static extern void BitLock(ref int address, int lockBit)
Parameters
address
intTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
BitNthLsf(ulong, int)
Calls native function g_bit_nth_lsf.
public static extern int BitNthLsf(ulong mask, int nthBit)
Parameters
mask
ulongTransfer ownership: None Nullable: False
nthBit
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
BitNthMsf(ulong, int)
Calls native function g_bit_nth_msf.
public static extern int BitNthMsf(ulong mask, int nthBit)
Parameters
mask
ulongTransfer ownership: None Nullable: False
nthBit
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
BitStorage(ulong)
Calls native function g_bit_storage.
public static extern uint BitStorage(ulong number)
Parameters
number
ulongTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
BitTrylock(ref int, int)
Calls native function g_bit_trylock. Version: 2.24
[Version("2.24")]
public static extern bool BitTrylock(ref int address, int lockBit)
Parameters
address
intTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
BitUnlock(ref int, int)
Calls native function g_bit_unlock. Version: 2.24
[Version("2.24")]
public static extern void BitUnlock(ref int address, int lockBit)
Parameters
address
intTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
BlowChunks()
Calls native function g_blow_chunks.
public static extern void BlowChunks()
BookmarkFileErrorQuark()
Calls native function g_bookmark_file_error_quark.
public static extern uint BookmarkFileErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
BuildFilenameValist(NonNullablePlatformStringHandle, IntPtr)
Calls native function g_build_filename_valist. Version: 2.56
[Version("2.56")]
public static extern NonNullablePlatformStringOwnedHandle BuildFilenameValist(NonNullablePlatformStringHandle firstElement, IntPtr args)
Parameters
firstElement
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
BuildFilenamev(PlatformStringArrayNullTerminatedHandle)
Calls native function g_build_filenamev. Version: 2.8
[Version("2.8")]
public static extern NonNullablePlatformStringOwnedHandle BuildFilenamev(PlatformStringArrayNullTerminatedHandle args)
Parameters
args
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
BuildPathv(NonNullableUtf8StringHandle, PlatformStringArrayNullTerminatedHandle)
Calls native function g_build_pathv. Version: 2.8
[Version("2.8")]
public static extern NonNullablePlatformStringOwnedHandle BuildPathv(NonNullableUtf8StringHandle separator, PlatformStringArrayNullTerminatedHandle args)
Parameters
separator
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
ByteArrayFree(byte[], bool)
Calls native function g_byte_array_free.
public static extern IntPtr ByteArrayFree(byte[] array, bool freeSegment)
Parameters
array
byte[]Transfer ownership: None Nullable: False
freeSegment
boolTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
ByteArrayFreeToBytes(byte[])
Calls native function g_byte_array_free_to_bytes. Version: 2.32
[Version("2.32")]
public static extern BytesOwnedHandle ByteArrayFreeToBytes(byte[] array)
Parameters
array
byte[]Transfer ownership: Full Nullable: False
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False
ByteArraySort(byte[], CompareFunc)
Calls native function g_byte_array_sort.
public static extern void ByteArraySort(byte[] array, CompareFunc compareFunc)
Parameters
array
byte[]Transfer ownership: None Nullable: False
compareFunc
CompareFuncTransfer ownership: None Nullable: False
ByteArraySortWithData(byte[], CompareDataFunc, IntPtr)
Calls native function g_byte_array_sort_with_data.
public static extern void ByteArraySortWithData(byte[] array, CompareDataFunc compareFunc, IntPtr userData)
Parameters
array
byte[]Transfer ownership: None Nullable: False
compareFunc
CompareDataFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
ByteArraySteal(byte[], out nuint)
Calls native function g_byte_array_steal. Version: 2.64
[Version("2.64")]
public static extern IntPtr ByteArraySteal(byte[] array, out nuint len)
Parameters
array
byte[]Transfer ownership: None Nullable: False
len
nuintTransfer ownership: Full Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ByteArrayUnref(byte[])
Calls native function g_byte_array_unref. Version: 2.22
[Version("2.22")]
public static extern void ByteArrayUnref(byte[] array)
Parameters
array
byte[]Transfer ownership: None Nullable: False
CanonicalizeFilename(NonNullablePlatformStringHandle, NullablePlatformStringHandle)
Calls native function g_canonicalize_filename. Version: 2.58
[Version("2.58")]
public static extern NonNullablePlatformStringOwnedHandle CanonicalizeFilename(NonNullablePlatformStringHandle filename, NullablePlatformStringHandle relativeTo)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
relativeTo
NullablePlatformStringHandleTransfer ownership: None Nullable: True
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
Chdir(NonNullablePlatformStringHandle)
Calls native function g_chdir. Version: 2.8
[Version("2.8")]
public static extern int Chdir(NonNullablePlatformStringHandle path)
Parameters
path
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
CheckVersion(uint, uint, uint)
Calls native function glib_check_version. Version: 2.6
[Version("2.6")]
public static extern NullableUtf8StringUnownedHandle CheckVersion(uint requiredMajor, uint requiredMinor, uint requiredMicro)
Parameters
requiredMajor
uintTransfer ownership: None Nullable: False
requiredMinor
uintTransfer ownership: None Nullable: False
requiredMicro
uintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
ChecksumTypeGetLength(ChecksumType)
Calls native function g_checksum_type_get_length. Version: 2.16
[Version("2.16")]
public static extern long ChecksumTypeGetLength(ChecksumType checksumType)
Parameters
checksumType
ChecksumTypeTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
ChildWatchAdd(Pid, ChildWatchFunc, IntPtr)
Calls native function g_child_watch_add. Version: 2.4
[Version("2.4")]
public static extern uint ChildWatchAdd(Pid pid, ChildWatchFunc function, IntPtr data)
Parameters
pid
PidTransfer ownership: None Nullable: False
function
ChildWatchFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
ChildWatchAdd(int, Pid, ChildWatchFunc, IntPtr, DestroyNotify)
Calls native function g_child_watch_add_full. Version: 2.4
[Version("2.4")]
public static extern uint ChildWatchAdd(int priority, Pid pid, ChildWatchFunc function, IntPtr data, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
pid
PidTransfer ownership: None Nullable: False
function
ChildWatchFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
ChildWatchSourceNew(Pid)
Calls native function g_child_watch_source_new. Version: 2.4
[Version("2.4")]
public static extern SourceOwnedHandle ChildWatchSourceNew(Pid pid)
Parameters
pid
PidTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
Chmod(NonNullablePlatformStringHandle, int)
Calls native function g_chmod. Version: 2.8
[Version("2.8")]
public static extern int Chmod(NonNullablePlatformStringHandle filename, int mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
ClearError(out ErrorOwnedHandle)
Calls native function g_clear_error.
public static extern void ClearError(out ErrorOwnedHandle error)
Parameters
error
ErrorOwnedHandle
ClearHandleId(ref uint, ClearHandleFunc)
Calls native function g_clear_handle_id. Version: 2.56
[Version("2.56")]
public static extern void ClearHandleId(ref uint tagPtr, ClearHandleFunc clearFunc)
Parameters
tagPtr
uintTransfer ownership: None Nullable: False
clearFunc
ClearHandleFuncTransfer ownership: None Nullable: False
ClearList(ListHandle, DestroyNotify)
Calls native function g_clear_list. Version: 2.64
[Version("2.64")]
public static extern void ClearList(ListHandle listPtr, DestroyNotify destroy)
Parameters
listPtr
ListHandleTransfer ownership: None Nullable: False
destroy
DestroyNotifyTransfer ownership: None Nullable: True
ClearPointer(ref IntPtr, DestroyNotify)
Calls native function g_clear_pointer. Version: 2.34
[Version("2.34")]
public static extern void ClearPointer(ref IntPtr pp, DestroyNotify destroy)
Parameters
pp
IntPtrTransfer ownership: Full Nullable: False
destroy
DestroyNotifyTransfer ownership: None Nullable: False
ClearSlist(SListHandle, DestroyNotify)
Calls native function g_clear_slist. Version: 2.64
[Version("2.64")]
public static extern void ClearSlist(SListHandle slistPtr, DestroyNotify destroy)
Parameters
slistPtr
SListHandleTransfer ownership: None Nullable: False
destroy
DestroyNotifyTransfer ownership: None Nullable: True
Close(int, out ErrorOwnedHandle)
Calls native function g_close. Version: 2.36
[Version("2.36")]
public static extern bool Close(int fd, out ErrorOwnedHandle error)
Parameters
fd
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
Closefrom(int)
Calls native function g_closefrom. Version: 2.80
[Version("2.80")]
public static extern int Closefrom(int lowfd)
Parameters
lowfd
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
ComputeChecksumForBytes(ChecksumType, BytesHandle)
Calls native function g_compute_checksum_for_bytes. Version: 2.34
[Version("2.34")]
public static extern NullableUtf8StringOwnedHandle ComputeChecksumForBytes(ChecksumType checksumType, BytesHandle data)
Parameters
checksumType
ChecksumTypeTransfer ownership: None Nullable: False
data
BytesHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ComputeChecksumForData(ChecksumType, ref byte, nuint)
Calls native function g_compute_checksum_for_data. Version: 2.16
[Version("2.16")]
public static extern NullableUtf8StringOwnedHandle ComputeChecksumForData(ChecksumType checksumType, ref byte data, nuint length)
Parameters
checksumType
ChecksumTypeTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
length
nuintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ComputeChecksumForString(ChecksumType, NonNullableUtf8StringHandle, long)
Calls native function g_compute_checksum_for_string. Version: 2.16
[Version("2.16")]
public static extern NullableUtf8StringOwnedHandle ComputeChecksumForString(ChecksumType checksumType, NonNullableUtf8StringHandle str, long length)
Parameters
checksumType
ChecksumTypeTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ComputeHmacForBytes(ChecksumType, BytesHandle, BytesHandle)
Calls native function g_compute_hmac_for_bytes. Version: 2.50
[Version("2.50")]
public static extern NonNullableUtf8StringOwnedHandle ComputeHmacForBytes(ChecksumType digestType, BytesHandle key, BytesHandle data)
Parameters
digestType
ChecksumTypeTransfer ownership: None Nullable: False
key
BytesHandleTransfer ownership: None Nullable: False
data
BytesHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
ComputeHmacForData(ChecksumType, ref byte, nuint, ref byte, nuint)
Calls native function g_compute_hmac_for_data. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle ComputeHmacForData(ChecksumType digestType, ref byte key, nuint keyLen, ref byte data, nuint length)
Parameters
digestType
ChecksumTypeTransfer ownership: None Nullable: False
key
byteTransfer ownership: None Nullable: False
keyLen
nuintTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
length
nuintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
ComputeHmacForString(ChecksumType, ref byte, nuint, NonNullableUtf8StringHandle, long)
Calls native function g_compute_hmac_for_string. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle ComputeHmacForString(ChecksumType digestType, ref byte key, nuint keyLen, NonNullableUtf8StringHandle str, long length)
Parameters
digestType
ChecksumTypeTransfer ownership: None Nullable: False
key
byteTransfer ownership: None Nullable: False
keyLen
nuintTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
CondNew()
Calls native function g_cond_new.
public static extern CondUnownedHandle CondNew()
Returns
- CondUnownedHandle
Transfer ownership: None Nullable: False
Convert(ref byte, long, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_convert.
public static extern byte[] Convert(ref byte str, long len, NonNullableUtf8StringHandle toCodeset, NonNullableUtf8StringHandle fromCodeset, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
str
byteTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
toCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fromCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- byte[]
Transfer ownership: Full Nullable: False
ConvertErrorQuark()
Calls native function g_convert_error_quark.
public static extern uint ConvertErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ConvertWithFallback(ref byte, long, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_convert_with_fallback.
public static extern byte[] ConvertWithFallback(ref byte str, long len, NonNullableUtf8StringHandle toCodeset, NonNullableUtf8StringHandle fromCodeset, NonNullableUtf8StringHandle fallback, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
str
byteTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
toCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fromCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fallback
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- byte[]
Transfer ownership: Full Nullable: False
ConvertWithIconv(ref byte, long, IConvHandle, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_convert_with_iconv.
public static extern byte[] ConvertWithIconv(ref byte str, long len, IConvHandle converter, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
str
byteTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
converter
IConvHandleTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- byte[]
Transfer ownership: Full Nullable: False
Creat(NonNullablePlatformStringHandle, int)
Calls native function g_creat. Version: 2.8
[Version("2.8")]
public static extern int Creat(NonNullablePlatformStringHandle filename, int mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
DatalistClear(DataHandle)
Calls native function g_datalist_clear.
public static extern void DatalistClear(DataHandle datalist)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
DatalistForeach(DataHandle, DataForeachFunc, IntPtr)
Calls native function g_datalist_foreach.
public static extern void DatalistForeach(DataHandle datalist, DataForeachFunc func, IntPtr userData)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
func
DataForeachFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
DatalistGetData(DataHandle, NonNullableUtf8StringHandle)
Calls native function g_datalist_get_data.
public static extern IntPtr DatalistGetData(DataHandle datalist, NonNullableUtf8StringHandle key)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
key
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatalistGetFlags(DataHandle)
Calls native function g_datalist_get_flags. Version: 2.8
[Version("2.8")]
public static extern uint DatalistGetFlags(DataHandle datalist)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
DatalistIdDupData(DataHandle, Quark, DuplicateFunc, IntPtr)
Calls native function g_datalist_id_dup_data. Version: 2.34
[Version("2.34")]
public static extern IntPtr DatalistIdDupData(DataHandle datalist, Quark keyId, DuplicateFunc dupFunc, IntPtr userData)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
dupFunc
DuplicateFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatalistIdGetData(DataHandle, Quark)
Calls native function g_datalist_id_get_data.
public static extern IntPtr DatalistIdGetData(DataHandle datalist, Quark keyId)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatalistIdRemoveMultiple(DataHandle, uint[], nuint)
Calls native function g_datalist_id_remove_multiple. Version: 2.74
[Version("2.74")]
public static extern void DatalistIdRemoveMultiple(DataHandle datalist, uint[] keys, nuint nKeys)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keys
uint[]Transfer ownership: None Nullable: False
nKeys
nuintTransfer ownership: None Nullable: False
DatalistIdRemoveNoNotify(DataHandle, Quark)
Calls native function g_datalist_id_remove_no_notify.
public static extern IntPtr DatalistIdRemoveNoNotify(DataHandle datalist, Quark keyId)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatalistIdReplaceData(DataHandle, Quark, IntPtr, IntPtr, DestroyNotify, DestroyNotify)
Calls native function g_datalist_id_replace_data. Version: 2.34
[Version("2.34")]
public static extern bool DatalistIdReplaceData(DataHandle datalist, Quark keyId, IntPtr oldval, IntPtr newval, DestroyNotify destroy, DestroyNotify oldDestroy)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
oldval
IntPtrTransfer ownership: None Nullable: True
newval
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: True
oldDestroy
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DatalistIdSetDataFull(DataHandle, Quark, IntPtr, DestroyNotify)
Calls native function g_datalist_id_set_data_full.
public static extern void DatalistIdSetDataFull(DataHandle datalist, Quark keyId, IntPtr data, DestroyNotify destroyFunc)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
destroyFunc
DestroyNotifyTransfer ownership: None Nullable: True
DatalistInit(DataHandle)
Calls native function g_datalist_init.
public static extern void DatalistInit(DataHandle datalist)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
DatalistSetFlags(DataHandle, uint)
Calls native function g_datalist_set_flags. Version: 2.8
[Version("2.8")]
public static extern void DatalistSetFlags(DataHandle datalist, uint flags)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
flags
uintTransfer ownership: None Nullable: False
DatalistUnsetFlags(DataHandle, uint)
Calls native function g_datalist_unset_flags. Version: 2.8
[Version("2.8")]
public static extern void DatalistUnsetFlags(DataHandle datalist, uint flags)
Parameters
datalist
DataHandleTransfer ownership: None Nullable: False
flags
uintTransfer ownership: None Nullable: False
DatasetDestroy(IntPtr)
Calls native function g_dataset_destroy.
public static extern void DatasetDestroy(IntPtr datasetLocation)
Parameters
datasetLocation
IntPtrTransfer ownership: None Nullable: False
DatasetForeach(IntPtr, DataForeachFunc, IntPtr)
Calls native function g_dataset_foreach.
public static extern void DatasetForeach(IntPtr datasetLocation, DataForeachFunc func, IntPtr userData)
Parameters
datasetLocation
IntPtrTransfer ownership: None Nullable: False
func
DataForeachFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
DatasetIdGetData(IntPtr, Quark)
Calls native function g_dataset_id_get_data.
public static extern IntPtr DatasetIdGetData(IntPtr datasetLocation, Quark keyId)
Parameters
datasetLocation
IntPtrTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatasetIdRemoveNoNotify(IntPtr, Quark)
Calls native function g_dataset_id_remove_no_notify.
public static extern IntPtr DatasetIdRemoveNoNotify(IntPtr datasetLocation, Quark keyId)
Parameters
datasetLocation
IntPtrTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
DatasetIdSetDataFull(IntPtr, Quark, IntPtr, DestroyNotify)
Calls native function g_dataset_id_set_data_full.
public static extern void DatasetIdSetDataFull(IntPtr datasetLocation, Quark keyId, IntPtr data, DestroyNotify destroyFunc)
Parameters
datasetLocation
IntPtrTransfer ownership: None Nullable: False
keyId
QuarkTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
destroyFunc
DestroyNotifyTransfer ownership: None Nullable: False
DateGetDaysInMonth(DateMonth, DateYear)
Calls native function g_date_get_days_in_month.
public static extern byte DateGetDaysInMonth(DateMonth month, DateYear year)
Parameters
month
DateMonthTransfer ownership: None Nullable: False
year
DateYearTransfer ownership: None Nullable: False
Returns
- byte
Transfer ownership: None Nullable: False
DateGetMondayWeeksInYear(DateYear)
Calls native function g_date_get_monday_weeks_in_year.
public static extern byte DateGetMondayWeeksInYear(DateYear year)
Parameters
year
DateYearTransfer ownership: None Nullable: False
Returns
- byte
Transfer ownership: None Nullable: False
DateGetSundayWeeksInYear(DateYear)
Calls native function g_date_get_sunday_weeks_in_year.
public static extern byte DateGetSundayWeeksInYear(DateYear year)
Parameters
year
DateYearTransfer ownership: None Nullable: False
Returns
- byte
Transfer ownership: None Nullable: False
DateIsLeapYear(DateYear)
Calls native function g_date_is_leap_year.
public static extern bool DateIsLeapYear(DateYear year)
Parameters
year
DateYearTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateStrftime(NonNullableUtf8StringHandle, nuint, NonNullableUtf8StringHandle, DateHandle)
Calls native function g_date_strftime.
public static extern nuint DateStrftime(NonNullableUtf8StringHandle s, nuint slen, NonNullableUtf8StringHandle format, DateHandle date)
Parameters
s
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
slen
nuintTransfer ownership: None Nullable: False
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
date
DateHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
DateValidDay(DateDay)
Calls native function g_date_valid_day.
public static extern bool DateValidDay(DateDay day)
Parameters
day
DateDayTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateValidDmy(DateDay, DateMonth, DateYear)
Calls native function g_date_valid_dmy.
public static extern bool DateValidDmy(DateDay day, DateMonth month, DateYear year)
Parameters
day
DateDayTransfer ownership: None Nullable: False
month
DateMonthTransfer ownership: None Nullable: False
year
DateYearTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateValidJulian(uint)
Calls native function g_date_valid_julian.
public static extern bool DateValidJulian(uint julianDate)
Parameters
julianDate
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateValidMonth(DateMonth)
Calls native function g_date_valid_month.
public static extern bool DateValidMonth(DateMonth month)
Parameters
month
DateMonthTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateValidWeekday(DateWeekday)
Calls native function g_date_valid_weekday.
public static extern bool DateValidWeekday(DateWeekday weekday)
Parameters
weekday
DateWeekdayTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DateValidYear(DateYear)
Calls native function g_date_valid_year.
public static extern bool DateValidYear(DateYear year)
Parameters
year
DateYearTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Dcgettext(NullableUtf8StringHandle, NonNullableUtf8StringHandle, int)
Calls native function g_dcgettext. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle Dcgettext(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle msgid, int category)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
msgid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
category
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Dgettext(NullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_dgettext. Version: 2.18
[Version("2.18")]
public static extern NonNullableUtf8StringUnownedHandle Dgettext(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle msgid)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
msgid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
DirMakeTmp(NullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_dir_make_tmp. Version: 2.30
[Version("2.30")]
public static extern NonNullablePlatformStringOwnedHandle DirMakeTmp(NullablePlatformStringHandle tmpl, out ErrorOwnedHandle error)
Parameters
tmpl
NullablePlatformStringHandleTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
DirectEqual(IntPtr, IntPtr)
Calls native function g_direct_equal.
public static extern bool DirectEqual(IntPtr v1, IntPtr v2)
Parameters
Returns
- bool
Transfer ownership: None Nullable: False
DirectHash(IntPtr)
Calls native function g_direct_hash.
public static extern uint DirectHash(IntPtr v)
Parameters
v
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
Dngettext(NullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, ulong)
Calls native function g_dngettext. Version: 2.18
[Version("2.18")]
public static extern NonNullableUtf8StringUnownedHandle Dngettext(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle msgid, NonNullableUtf8StringHandle msgidPlural, ulong n)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
msgid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
msgidPlural
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
n
ulongTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
DoubleEqual(IntPtr, IntPtr)
Calls native function g_double_equal. Version: 2.22
[Version("2.22")]
public static extern bool DoubleEqual(IntPtr v1, IntPtr v2)
Parameters
v1
IntPtrTransfer ownership: None Nullable: False
v2
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DoubleHash(IntPtr)
Calls native function g_double_hash. Version: 2.22
[Version("2.22")]
public static extern uint DoubleHash(IntPtr v)
Parameters
v
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
Dpgettext(NullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_dpgettext. Version: 2.16
[Version("2.16")]
public static extern NonNullableUtf8StringUnownedHandle Dpgettext(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle msgctxtid, nuint msgidoffset)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
msgctxtid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
msgidoffset
nuintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Dpgettext2(NullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_dpgettext2. Version: 2.18
[Version("2.18")]
public static extern NonNullableUtf8StringUnownedHandle Dpgettext2(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle context, NonNullableUtf8StringHandle msgid)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
context
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
msgid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
EnvironGetenv(PlatformStringArrayNullTerminatedHandle, NonNullablePlatformStringHandle)
Calls native function g_environ_getenv. Version: 2.32
[Version("2.32")]
public static extern NullablePlatformStringUnownedHandle EnvironGetenv(PlatformStringArrayNullTerminatedHandle envp, NonNullablePlatformStringHandle variable)
Parameters
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
EnvironSetenv(PlatformStringArrayNullTerminatedUnownedHandle, NonNullablePlatformStringHandle, NonNullablePlatformStringHandle, bool)
Calls native function g_environ_setenv. Version: 2.32
[Version("2.32")]
public static extern PlatformStringArrayNullTerminatedOwnedHandle EnvironSetenv(PlatformStringArrayNullTerminatedUnownedHandle envp, NonNullablePlatformStringHandle variable, NonNullablePlatformStringHandle value, bool overwrite)
Parameters
envp
PlatformStringArrayNullTerminatedUnownedHandleTransfer ownership: Full Nullable: True
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
value
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
overwrite
boolTransfer ownership: None Nullable: False
Returns
- PlatformStringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
EnvironUnsetenv(PlatformStringArrayNullTerminatedUnownedHandle, NonNullablePlatformStringHandle)
Calls native function g_environ_unsetenv. Version: 2.32
[Version("2.32")]
public static extern PlatformStringArrayNullTerminatedOwnedHandle EnvironUnsetenv(PlatformStringArrayNullTerminatedUnownedHandle envp, NonNullablePlatformStringHandle variable)
Parameters
envp
PlatformStringArrayNullTerminatedUnownedHandleTransfer ownership: Full Nullable: True
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- PlatformStringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
ErrorDomainRegister(NonNullableUtf8StringHandle, nuint, ErrorInitFunc, ErrorCopyFunc, ErrorClearFunc)
Calls native function g_error_domain_register. Version: 2.68
[Version("2.68")]
public static extern uint ErrorDomainRegister(NonNullableUtf8StringHandle errorTypeName, nuint errorTypePrivateSize, ErrorInitFunc errorTypeInit, ErrorCopyFunc errorTypeCopy, ErrorClearFunc errorTypeClear)
Parameters
errorTypeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
errorTypePrivateSize
nuintTransfer ownership: None Nullable: False
errorTypeInit
ErrorInitFuncTransfer ownership: None Nullable: False
errorTypeCopy
ErrorCopyFuncTransfer ownership: None Nullable: False
errorTypeClear
ErrorClearFuncTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
ErrorDomainRegisterStatic(NonNullableUtf8StringHandle, nuint, ErrorInitFunc, ErrorCopyFunc, ErrorClearFunc)
Calls native function g_error_domain_register_static. Version: 2.68
[Version("2.68")]
public static extern uint ErrorDomainRegisterStatic(NonNullableUtf8StringHandle errorTypeName, nuint errorTypePrivateSize, ErrorInitFunc errorTypeInit, ErrorCopyFunc errorTypeCopy, ErrorClearFunc errorTypeClear)
Parameters
errorTypeName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
errorTypePrivateSize
nuintTransfer ownership: None Nullable: False
errorTypeInit
ErrorInitFuncTransfer ownership: None Nullable: False
errorTypeCopy
ErrorCopyFuncTransfer ownership: None Nullable: False
errorTypeClear
ErrorClearFuncTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
FdwalkSetCloexec(int)
Calls native function g_fdwalk_set_cloexec. Version: 2.80
[Version("2.80")]
public static extern int FdwalkSetCloexec(int lowfd)
Parameters
lowfd
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
FileErrorFromErrno(int)
Calls native function g_file_error_from_errno.
public static extern FileError FileErrorFromErrno(int errNo)
Parameters
errNo
intTransfer ownership: None Nullable: False
Returns
- FileError
Transfer ownership: None Nullable: False
FileErrorQuark()
Calls native function g_file_error_quark.
public static extern uint FileErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
FileGetContents(NonNullablePlatformStringHandle, out byte[], out nuint, out ErrorOwnedHandle)
Calls native function g_file_get_contents.
public static extern bool FileGetContents(NonNullablePlatformStringHandle filename, out byte[] contents, out nuint length, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
contents
byte[]Transfer ownership: Full Nullable: False
length
nuintTransfer ownership: Full Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
FileOpenTmp(NullablePlatformStringHandle, out NonNullablePlatformStringOwnedHandle, out ErrorOwnedHandle)
Calls native function g_file_open_tmp.
public static extern int FileOpenTmp(NullablePlatformStringHandle tmpl, out NonNullablePlatformStringOwnedHandle nameUsed, out ErrorOwnedHandle error)
Parameters
tmpl
NullablePlatformStringHandleTransfer ownership: None Nullable: True
nameUsed
NonNullablePlatformStringOwnedHandleTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- int
Transfer ownership: None Nullable: False
FileReadLink(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_file_read_link. Version: 2.4
[Version("2.4")]
public static extern NonNullablePlatformStringOwnedHandle FileReadLink(NonNullablePlatformStringHandle filename, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
FileSetContents(NonNullablePlatformStringHandle, ref byte, long, out ErrorOwnedHandle)
Calls native function g_file_set_contents. Version: 2.8
[Version("2.8")]
public static extern bool FileSetContents(NonNullablePlatformStringHandle filename, ref byte contents, long length, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
contents
byteTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
FileSetContentsFull(NonNullablePlatformStringHandle, ref byte, long, FileSetContentsFlags, int, out ErrorOwnedHandle)
Calls native function g_file_set_contents_full. Version: 2.66
[Version("2.66")]
public static extern bool FileSetContentsFull(NonNullablePlatformStringHandle filename, ref byte contents, long length, FileSetContentsFlags flags, int mode, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
contents
byteTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
flags
FileSetContentsFlagsTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
FileTest(NonNullablePlatformStringHandle, FileTest)
Calls native function g_file_test.
public static extern bool FileTest(NonNullablePlatformStringHandle filename, FileTest test)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
test
FileTestTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
FilenameDisplayBasename(NonNullablePlatformStringHandle)
Calls native function g_filename_display_basename. Version: 2.6
[Version("2.6")]
public static extern NonNullableUtf8StringOwnedHandle FilenameDisplayBasename(NonNullablePlatformStringHandle filename)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FilenameDisplayName(NonNullablePlatformStringHandle)
Calls native function g_filename_display_name. Version: 2.6
[Version("2.6")]
public static extern NonNullableUtf8StringOwnedHandle FilenameDisplayName(NonNullablePlatformStringHandle filename)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FilenameFromUri(NonNullableUtf8StringHandle, out NullableUtf8StringOwnedHandle, out ErrorOwnedHandle)
Calls native function g_filename_from_uri.
public static extern NonNullablePlatformStringOwnedHandle FilenameFromUri(NonNullableUtf8StringHandle uri, out NullableUtf8StringOwnedHandle hostname, out ErrorOwnedHandle error)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
hostname
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
error
ErrorOwnedHandle
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
FilenameFromUtf8(NonNullableUtf8StringHandle, long, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_filename_from_utf8.
public static extern NonNullablePlatformStringOwnedHandle FilenameFromUtf8(NonNullableUtf8StringHandle utf8string, long len, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
utf8string
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
FilenameToUri(NonNullablePlatformStringHandle, NullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native function g_filename_to_uri.
public static extern NonNullableUtf8StringOwnedHandle FilenameToUri(NonNullablePlatformStringHandle filename, NullableUtf8StringHandle hostname, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
hostname
NullableUtf8StringHandleTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FilenameToUtf8(NonNullablePlatformStringHandle, long, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_filename_to_utf8.
public static extern NonNullableUtf8StringOwnedHandle FilenameToUtf8(NonNullablePlatformStringHandle opsysstring, long len, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
opsysstring
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FindProgramInPath(NonNullablePlatformStringHandle)
Calls native function g_find_program_in_path.
public static extern NullablePlatformStringOwnedHandle FindProgramInPath(NonNullablePlatformStringHandle program)
Parameters
program
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: True
Fopen(NonNullablePlatformStringHandle, NonNullableUtf8StringHandle)
Calls native function g_fopen. Version: 2.6
[Version("2.6")]
public static extern IntPtr Fopen(NonNullablePlatformStringHandle filename, NonNullableUtf8StringHandle mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
FormatSize(ulong)
Calls native function g_format_size. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle FormatSize(ulong size)
Parameters
size
ulongTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FormatSizeForDisplay(long)
Calls native function g_format_size_for_display. Version: 2.16
[Version("2.16")]
public static extern NonNullableUtf8StringOwnedHandle FormatSizeForDisplay(long size)
Parameters
size
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
FormatSizeFull(ulong, FormatSizeFlags)
Calls native function g_format_size_full. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle FormatSizeFull(ulong size, FormatSizeFlags flags)
Parameters
size
ulongTransfer ownership: None Nullable: False
flags
FormatSizeFlagsTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Free(IntPtr)
Calls native function g_free.
public static extern void Free(IntPtr mem)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
FreeSized(IntPtr, nuint)
Calls native function g_free_sized. Version: 2.76
[Version("2.76")]
public static extern void FreeSized(IntPtr mem, nuint size)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
size
nuintTransfer ownership: None Nullable: False
Freopen(NonNullablePlatformStringHandle, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_freopen. Version: 2.6
[Version("2.6")]
public static extern IntPtr Freopen(NonNullablePlatformStringHandle filename, NonNullableUtf8StringHandle mode, IntPtr stream)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
stream
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
Fsync(int)
Calls native function g_fsync. Version: 2.64
[Version("2.64")]
public static extern int Fsync(int fd)
Parameters
fd
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetApplicationName()
Calls native function g_get_application_name. Version: 2.2
[Version("2.2")]
public static extern NullableUtf8StringUnownedHandle GetApplicationName()
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetCharset(out NonNullableUtf8StringUnownedHandle)
Calls native function g_get_charset.
public static extern bool GetCharset(out NonNullableUtf8StringUnownedHandle charset)
Parameters
charset
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetCodeset()
Calls native function g_get_codeset.
public static extern NonNullableUtf8StringOwnedHandle GetCodeset()
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetConsoleCharset(out NonNullableUtf8StringUnownedHandle)
Calls native function g_get_console_charset. Version: 2.62
[Version("2.62")]
public static extern bool GetConsoleCharset(out NonNullableUtf8StringUnownedHandle charset)
Parameters
charset
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetCurrentDir()
Calls native function g_get_current_dir.
public static extern NonNullablePlatformStringOwnedHandle GetCurrentDir()
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
GetCurrentTime(TimeValHandle)
Calls native function g_get_current_time.
public static extern void GetCurrentTime(TimeValHandle result)
Parameters
result
TimeValHandleTransfer ownership: None Nullable: False
GetEnviron()
Calls native function g_get_environ. Version: 2.28
[Version("2.28")]
public static extern PlatformStringArrayNullTerminatedOwnedHandle GetEnviron()
Returns
- PlatformStringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
GetFilenameCharsets(out Utf8StringArrayNullTerminatedUnownedHandle)
Calls native function g_get_filename_charsets. Version: 2.6
[Version("2.6")]
public static extern bool GetFilenameCharsets(out Utf8StringArrayNullTerminatedUnownedHandle filenameCharsets)
Parameters
filenameCharsets
Utf8StringArrayNullTerminatedUnownedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetHomeDir()
Calls native function g_get_home_dir.
public static extern NonNullablePlatformStringUnownedHandle GetHomeDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetHostName()
Calls native function g_get_host_name. Version: 2.8
[Version("2.8")]
public static extern NonNullableUtf8StringUnownedHandle GetHostName()
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetLanguageNames()
Calls native function g_get_language_names. Version: 2.6
[Version("2.6")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetLanguageNames()
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
GetLanguageNamesWithCategory(NonNullableUtf8StringHandle)
Calls native function g_get_language_names_with_category. Version: 2.58
[Version("2.58")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetLanguageNamesWithCategory(NonNullableUtf8StringHandle categoryName)
Parameters
categoryName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
GetLocaleVariants(NonNullableUtf8StringHandle)
Calls native function g_get_locale_variants. Version: 2.28
[Version("2.28")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle GetLocaleVariants(NonNullableUtf8StringHandle locale)
Parameters
locale
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
GetMonotonicTime()
Calls native function g_get_monotonic_time. Version: 2.28
[Version("2.28")]
public static extern long GetMonotonicTime()
Returns
- long
Transfer ownership: None Nullable: False
GetNumProcessors()
Calls native function g_get_num_processors. Version: 2.36
[Version("2.36")]
public static extern uint GetNumProcessors()
Returns
- uint
Transfer ownership: None Nullable: False
GetOsInfo(NonNullableUtf8StringHandle)
Calls native function g_get_os_info. Version: 2.64
[Version("2.64")]
public static extern NullableUtf8StringOwnedHandle GetOsInfo(NonNullableUtf8StringHandle keyName)
Parameters
keyName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
GetPrgname()
Calls native function g_get_prgname.
public static extern NullableUtf8StringUnownedHandle GetPrgname()
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetRealName()
Calls native function g_get_real_name.
public static extern NonNullablePlatformStringUnownedHandle GetRealName()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetRealTime()
Calls native function g_get_real_time. Version: 2.28
[Version("2.28")]
public static extern long GetRealTime()
Returns
- long
Transfer ownership: None Nullable: False
GetSystemConfigDirs()
Calls native function g_get_system_config_dirs. Version: 2.6
[Version("2.6")]
public static extern PlatformStringArrayNullTerminatedUnownedHandle GetSystemConfigDirs()
Returns
- PlatformStringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
GetSystemDataDirs()
Calls native function g_get_system_data_dirs. Version: 2.6
[Version("2.6")]
public static extern PlatformStringArrayNullTerminatedUnownedHandle GetSystemDataDirs()
Returns
- PlatformStringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
GetTmpDir()
Calls native function g_get_tmp_dir.
public static extern NonNullablePlatformStringUnownedHandle GetTmpDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserCacheDir()
Calls native function g_get_user_cache_dir. Version: 2.6
[Version("2.6")]
public static extern NonNullablePlatformStringUnownedHandle GetUserCacheDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserConfigDir()
Calls native function g_get_user_config_dir. Version: 2.6
[Version("2.6")]
public static extern NonNullablePlatformStringUnownedHandle GetUserConfigDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserDataDir()
Calls native function g_get_user_data_dir. Version: 2.6
[Version("2.6")]
public static extern NonNullablePlatformStringUnownedHandle GetUserDataDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserName()
Calls native function g_get_user_name.
public static extern NonNullablePlatformStringUnownedHandle GetUserName()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserRuntimeDir()
Calls native function g_get_user_runtime_dir. Version: 2.28
[Version("2.28")]
public static extern NonNullablePlatformStringUnownedHandle GetUserRuntimeDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetUserSpecialDir(UserDirectory)
Calls native function g_get_user_special_dir. Version: 2.14
[Version("2.14")]
public static extern NullablePlatformStringUnownedHandle GetUserSpecialDir(UserDirectory directory)
Parameters
directory
UserDirectoryTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
GetUserStateDir()
Calls native function g_get_user_state_dir. Version: 2.72
[Version("2.72")]
public static extern NonNullablePlatformStringUnownedHandle GetUserStateDir()
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
Getenv(NonNullablePlatformStringHandle)
Calls native function g_getenv.
public static extern NullablePlatformStringUnownedHandle Getenv(NonNullablePlatformStringHandle variable)
Parameters
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
HashTableAdd(HashTableHandle, IntPtr)
Calls native function g_hash_table_add. Version: 2.32
[Version("2.32")]
public static extern bool HashTableAdd(HashTableHandle hashTable, IntPtr key)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: Full Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableContains(HashTableHandle, IntPtr)
Calls native function g_hash_table_contains. Version: 2.32
[Version("2.32")]
public static extern bool HashTableContains(HashTableHandle hashTable, IntPtr key)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableDestroy(HashTableHandle)
Calls native function g_hash_table_destroy.
public static extern void HashTableDestroy(HashTableHandle hashTable)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
HashTableFind(HashTableHandle, HRFunc, IntPtr)
Calls native function g_hash_table_find. Version: 2.4
[Version("2.4")]
public static extern IntPtr HashTableFind(HashTableHandle hashTable, HRFunc predicate, IntPtr userData)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
predicate
HRFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
HashTableForeach(HashTableHandle, HFunc, IntPtr)
Calls native function g_hash_table_foreach.
public static extern void HashTableForeach(HashTableHandle hashTable, HFunc func, IntPtr userData)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
func
HFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
HashTableForeachRemove(HashTableHandle, HRFunc, IntPtr)
Calls native function g_hash_table_foreach_remove.
public static extern uint HashTableForeachRemove(HashTableHandle hashTable, HRFunc func, IntPtr userData)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
func
HRFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
HashTableForeachSteal(HashTableHandle, HRFunc, IntPtr)
Calls native function g_hash_table_foreach_steal.
public static extern uint HashTableForeachSteal(HashTableHandle hashTable, HRFunc func, IntPtr userData)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
func
HRFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
HashTableInsert(HashTableHandle, IntPtr, IntPtr)
Calls native function g_hash_table_insert.
public static extern bool HashTableInsert(HashTableHandle hashTable, IntPtr key, IntPtr value)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
value
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableLookup(HashTableHandle, IntPtr)
Calls native function g_hash_table_lookup.
public static extern IntPtr HashTableLookup(HashTableHandle hashTable, IntPtr key)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
HashTableLookupExtended(HashTableHandle, IntPtr, out IntPtr, out IntPtr)
Calls native function g_hash_table_lookup_extended.
public static extern bool HashTableLookupExtended(HashTableHandle hashTable, IntPtr lookupKey, out IntPtr origKey, out IntPtr value)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
lookupKey
IntPtrTransfer ownership: None Nullable: True
origKey
IntPtrTransfer ownership: Full Nullable: True
value
IntPtrTransfer ownership: Full Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableNewSimilar(HashTableHandle)
Calls native function g_hash_table_new_similar. Version: 2.72
[Version("2.72")]
public static extern HashTableOwnedHandle HashTableNewSimilar(HashTableHandle otherHashTable)
Parameters
otherHashTable
HashTableHandleTransfer ownership: None Nullable: False
Returns
- HashTableOwnedHandle
Transfer ownership: Full Nullable: False
HashTableRef(HashTableHandle)
Calls native function g_hash_table_ref. Version: 2.10
[Version("2.10")]
public static extern HashTableOwnedHandle HashTableRef(HashTableHandle hashTable)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
Returns
- HashTableOwnedHandle
Transfer ownership: Full Nullable: False
HashTableRemove(HashTableHandle, IntPtr)
Calls native function g_hash_table_remove.
public static extern bool HashTableRemove(HashTableHandle hashTable, IntPtr key)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableRemoveAll(HashTableHandle)
Calls native function g_hash_table_remove_all. Version: 2.12
[Version("2.12")]
public static extern void HashTableRemoveAll(HashTableHandle hashTable)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
HashTableReplace(HashTableHandle, IntPtr, IntPtr)
Calls native function g_hash_table_replace.
public static extern bool HashTableReplace(HashTableHandle hashTable, IntPtr key, IntPtr value)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
value
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableSize(HashTableHandle)
Calls native function g_hash_table_size.
public static extern uint HashTableSize(HashTableHandle hashTable)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
HashTableSteal(HashTableHandle, IntPtr)
Calls native function g_hash_table_steal.
public static extern bool HashTableSteal(HashTableHandle hashTable, IntPtr key)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableStealAll(HashTableHandle)
Calls native function g_hash_table_steal_all. Version: 2.12
[Version("2.12")]
public static extern void HashTableStealAll(HashTableHandle hashTable)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
HashTableStealExtended(HashTableHandle, IntPtr, out IntPtr, out IntPtr)
Calls native function g_hash_table_steal_extended. Version: 2.58
[Version("2.58")]
public static extern bool HashTableStealExtended(HashTableHandle hashTable, IntPtr lookupKey, out IntPtr stolenKey, out IntPtr stolenValue)
Parameters
hashTable
HashTableHandleTransfer ownership: None Nullable: False
lookupKey
IntPtrTransfer ownership: None Nullable: True
stolenKey
IntPtrTransfer ownership: Full Nullable: True
stolenValue
IntPtrTransfer ownership: Full Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
HashTableUnref(HashTableUnownedHandle)
Calls native function g_hash_table_unref. Version: 2.10
[Version("2.10")]
public static extern void HashTableUnref(HashTableUnownedHandle hashTable)
Parameters
hashTable
HashTableUnownedHandleTransfer ownership: Full Nullable: False
HookDestroy(HookListHandle, ulong)
Calls native function g_hook_destroy.
public static extern bool HookDestroy(HookListHandle hookList, ulong hookId)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hookId
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HookDestroyLink(HookListHandle, HookHandle)
Calls native function g_hook_destroy_link.
public static extern void HookDestroyLink(HookListHandle hookList, HookHandle hook)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hook
HookHandleTransfer ownership: None Nullable: False
HookFree(HookListHandle, HookHandle)
Calls native function g_hook_free.
public static extern void HookFree(HookListHandle hookList, HookHandle hook)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hook
HookHandleTransfer ownership: None Nullable: False
HookInsertBefore(HookListHandle, HookHandle, HookHandle)
Calls native function g_hook_insert_before.
public static extern void HookInsertBefore(HookListHandle hookList, HookHandle sibling, HookHandle hook)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
sibling
HookHandleTransfer ownership: None Nullable: True
hook
HookHandleTransfer ownership: None Nullable: False
HookInsertSorted(HookListHandle, HookHandle, HookCompareFunc)
Calls native function g_hook_insert_sorted.
public static extern void HookInsertSorted(HookListHandle hookList, HookHandle hook, HookCompareFunc func)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hook
HookHandleTransfer ownership: None Nullable: False
func
HookCompareFuncTransfer ownership: None Nullable: False
HookPrepend(HookListHandle, HookHandle)
Calls native function g_hook_prepend.
public static extern void HookPrepend(HookListHandle hookList, HookHandle hook)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hook
HookHandleTransfer ownership: None Nullable: False
HookUnref(HookListHandle, HookHandle)
Calls native function g_hook_unref.
public static extern void HookUnref(HookListHandle hookList, HookHandle hook)
Parameters
hookList
HookListHandleTransfer ownership: None Nullable: False
hook
HookHandleTransfer ownership: None Nullable: False
HostnameIsAsciiEncoded(NonNullableUtf8StringHandle)
Calls native function g_hostname_is_ascii_encoded. Version: 2.22
[Version("2.22")]
public static extern bool HostnameIsAsciiEncoded(NonNullableUtf8StringHandle hostname)
Parameters
hostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HostnameIsIpAddress(NonNullableUtf8StringHandle)
Calls native function g_hostname_is_ip_address. Version: 2.22
[Version("2.22")]
public static extern bool HostnameIsIpAddress(NonNullableUtf8StringHandle hostname)
Parameters
hostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HostnameIsNonAscii(NonNullableUtf8StringHandle)
Calls native function g_hostname_is_non_ascii. Version: 2.22
[Version("2.22")]
public static extern bool HostnameIsNonAscii(NonNullableUtf8StringHandle hostname)
Parameters
hostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HostnameToAscii(NonNullableUtf8StringHandle)
Calls native function g_hostname_to_ascii. Version: 2.22
[Version("2.22")]
public static extern NullableUtf8StringOwnedHandle HostnameToAscii(NonNullableUtf8StringHandle hostname)
Parameters
hostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
HostnameToUnicode(NonNullableUtf8StringHandle)
Calls native function g_hostname_to_unicode. Version: 2.22
[Version("2.22")]
public static extern NullableUtf8StringOwnedHandle HostnameToUnicode(NonNullableUtf8StringHandle hostname)
Parameters
hostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Iconv(IConvHandle, NonNullableUtf8StringHandle, ref nuint, NonNullableUtf8StringHandle, ref nuint)
Calls native function g_iconv.
public static extern nuint Iconv(IConvHandle converter, NonNullableUtf8StringHandle inbuf, ref nuint inbytesLeft, NonNullableUtf8StringHandle outbuf, ref nuint outbytesLeft)
Parameters
converter
IConvHandleTransfer ownership: None Nullable: False
inbuf
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
inbytesLeft
nuintTransfer ownership: Full Nullable: False
outbuf
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
outbytesLeft
nuintTransfer ownership: Full Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
IconvOpen(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_iconv_open.
public static extern IConvUnownedHandle IconvOpen(NonNullableUtf8StringHandle toCodeset, NonNullableUtf8StringHandle fromCodeset)
Parameters
toCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fromCodeset
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IConvUnownedHandle
Transfer ownership: None Nullable: False
IdleAdd(SourceFunc, IntPtr)
Calls native function g_idle_add.
public static extern uint IdleAdd(SourceFunc function, IntPtr data)
Parameters
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
IdleAdd(int, SourceFunc, IntPtr, DestroyNotify)
Calls native function g_idle_add_full.
public static extern uint IdleAdd(int priority, SourceFunc function, IntPtr data, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
IdleAddOnce(SourceOnceFunc, IntPtr)
Calls native function g_idle_add_once. Version: 2.74
[Version("2.74")]
public static extern uint IdleAddOnce(SourceOnceFunc function, IntPtr data)
Parameters
function
SourceOnceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
IdleRemoveByData(IntPtr)
Calls native function g_idle_remove_by_data.
public static extern bool IdleRemoveByData(IntPtr data)
Parameters
data
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
IdleSourceNew()
Calls native function g_idle_source_new.
public static extern SourceOwnedHandle IdleSourceNew()
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
Int64Equal(IntPtr, IntPtr)
Calls native function g_int64_equal. Version: 2.22
[Version("2.22")]
public static extern bool Int64Equal(IntPtr v1, IntPtr v2)
Parameters
v1
IntPtrTransfer ownership: None Nullable: False
v2
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Int64Hash(IntPtr)
Calls native function g_int64_hash. Version: 2.22
[Version("2.22")]
public static extern uint Int64Hash(IntPtr v)
Parameters
v
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
IntEqual(IntPtr, IntPtr)
Calls native function g_int_equal.
public static extern bool IntEqual(IntPtr v1, IntPtr v2)
Parameters
v1
IntPtrTransfer ownership: None Nullable: False
v2
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IntHash(IntPtr)
Calls native function g_int_hash.
public static extern uint IntHash(IntPtr v)
Parameters
v
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
InternStaticString(NullableUtf8StringHandle)
Calls native function g_intern_static_string. Version: 2.10
[Version("2.10")]
public static extern NonNullableUtf8StringUnownedHandle InternStaticString(NullableUtf8StringHandle @string)
Parameters
string
NullableUtf8StringHandle
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
InternString(NullableUtf8StringHandle)
Calls native function g_intern_string. Version: 2.10
[Version("2.10")]
public static extern NonNullableUtf8StringUnownedHandle InternString(NullableUtf8StringHandle @string)
Parameters
string
NullableUtf8StringHandle
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
IoAddWatch(IOChannelHandle, IOCondition, IOFunc, IntPtr)
Calls native function g_io_add_watch.
public static extern uint IoAddWatch(IOChannelHandle channel, IOCondition condition, IOFunc func, IntPtr userData)
Parameters
channel
IOChannelHandleTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
func
IOFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
IoAddWatch(IOChannelHandle, int, IOCondition, IOFunc, IntPtr, DestroyNotify)
Calls native function g_io_add_watch_full.
public static extern uint IoAddWatch(IOChannelHandle channel, int priority, IOCondition condition, IOFunc func, IntPtr userData, DestroyNotify notify)
Parameters
channel
IOChannelHandleTransfer ownership: None Nullable: False
priority
intTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
func
IOFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
IoChannelErrorFromErrno(int)
Calls native function g_io_channel_error_from_errno.
public static extern IOChannelError IoChannelErrorFromErrno(int en)
Parameters
en
intTransfer ownership: None Nullable: False
Returns
- IOChannelError
Transfer ownership: None Nullable: False
IoChannelErrorQuark()
Calls native function g_io_channel_error_quark.
public static extern uint IoChannelErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
IoChannelWin32Poll(PollFDHandle, int, int)
Calls native function g_io_channel_win32_poll.
public static extern int IoChannelWin32Poll(PollFDHandle fds, int nFds, int timeout)
Parameters
fds
PollFDHandleTransfer ownership: None Nullable: False
nFds
intTransfer ownership: None Nullable: False
timeout
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
IoCreateWatch(IOChannelHandle, IOCondition)
Calls native function g_io_create_watch.
public static extern SourceOwnedHandle IoCreateWatch(IOChannelHandle channel, IOCondition condition)
Parameters
channel
IOChannelHandleTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
KeyFileErrorQuark()
Calls native function g_key_file_error_quark.
public static extern uint KeyFileErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ListPopAllocator()
Calls native function g_list_pop_allocator.
public static extern void ListPopAllocator()
ListPushAllocator(AllocatorHandle)
Calls native function g_list_push_allocator.
public static extern void ListPushAllocator(AllocatorHandle allocator)
Parameters
allocator
AllocatorHandleTransfer ownership: None Nullable: False
Listenv()
Calls native function g_listenv. Version: 2.8
[Version("2.8")]
public static extern PlatformStringArrayNullTerminatedOwnedHandle Listenv()
Returns
- PlatformStringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
LocaleFromUtf8(NonNullableUtf8StringHandle, long, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_locale_from_utf8.
public static extern byte[] LocaleFromUtf8(NonNullableUtf8StringHandle utf8string, long len, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
utf8string
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- byte[]
Transfer ownership: Full Nullable: False
LocaleToUtf8(ref byte, long, out nuint, out nuint, out ErrorOwnedHandle)
Calls native function g_locale_to_utf8.
public static extern NonNullableUtf8StringOwnedHandle LocaleToUtf8(ref byte opsysstring, long len, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)
Parameters
opsysstring
byteTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
LogDefaultHandler(NullableUtf8StringHandle, LogLevelFlags, NullableUtf8StringHandle, IntPtr)
Calls native function g_log_default_handler.
public static extern void LogDefaultHandler(NullableUtf8StringHandle logDomain, LogLevelFlags logLevel, NullableUtf8StringHandle message, IntPtr unusedData)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
message
NullableUtf8StringHandleTransfer ownership: None Nullable: True
unusedData
IntPtrTransfer ownership: None Nullable: True
LogGetDebugEnabled()
Calls native function g_log_get_debug_enabled. Version: 2.72
[Version("2.72")]
public static extern bool LogGetDebugEnabled()
Returns
- bool
Transfer ownership: None Nullable: False
LogRemoveHandler(NonNullableUtf8StringHandle, uint)
Calls native function g_log_remove_handler.
public static extern void LogRemoveHandler(NonNullableUtf8StringHandle logDomain, uint handlerId)
Parameters
logDomain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
handlerId
uintTransfer ownership: None Nullable: False
LogSetAlwaysFatal(LogLevelFlags)
Calls native function g_log_set_always_fatal.
public static extern LogLevelFlags LogSetAlwaysFatal(LogLevelFlags fatalMask)
Parameters
fatalMask
LogLevelFlagsTransfer ownership: None Nullable: False
Returns
- LogLevelFlags
Transfer ownership: None Nullable: False
LogSetDebugEnabled(bool)
Calls native function g_log_set_debug_enabled. Version: 2.72
[Version("2.72")]
public static extern void LogSetDebugEnabled(bool enabled)
Parameters
enabled
boolTransfer ownership: None Nullable: False
LogSetFatalMask(NonNullableUtf8StringHandle, LogLevelFlags)
Calls native function g_log_set_fatal_mask.
public static extern LogLevelFlags LogSetFatalMask(NonNullableUtf8StringHandle logDomain, LogLevelFlags fatalMask)
Parameters
logDomain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fatalMask
LogLevelFlagsTransfer ownership: None Nullable: False
Returns
- LogLevelFlags
Transfer ownership: None Nullable: False
LogSetHandler(NullableUtf8StringHandle, LogLevelFlags, LogFunc, IntPtr)
Calls native function g_log_set_handler.
public static extern uint LogSetHandler(NullableUtf8StringHandle logDomain, LogLevelFlags logLevels, LogFunc logFunc, IntPtr userData)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevels
LogLevelFlagsTransfer ownership: None Nullable: False
logFunc
LogFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
LogSetHandler(NullableUtf8StringHandle, LogLevelFlags, LogFunc, IntPtr, DestroyNotify)
Calls native function g_log_set_handler_full. Version: 2.46
[Version("2.46")]
public static extern uint LogSetHandler(NullableUtf8StringHandle logDomain, LogLevelFlags logLevels, LogFunc logFunc, IntPtr userData, DestroyNotify destroy)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevels
LogLevelFlagsTransfer ownership: None Nullable: False
logFunc
LogFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
LogSetWriterFunc(LogWriterFunc, IntPtr, DestroyNotify)
Calls native function g_log_set_writer_func. Version: 2.50
[Version("2.50")]
public static extern void LogSetWriterFunc(LogWriterFunc func, IntPtr userData, DestroyNotify userDataFree)
Parameters
func
LogWriterFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFree
DestroyNotifyTransfer ownership: None Nullable: False
LogStructuredArray(LogLevelFlags, LogFieldArrayHandle, nuint)
Calls native function g_log_structured_array. Version: 2.50
[Version("2.50")]
public static extern void LogStructuredArray(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
LogVariant(NullableUtf8StringHandle, LogLevelFlags, VariantHandle)
Calls native function g_log_variant. Version: 2.50
[Version("2.50")]
public static extern void LogVariant(NullableUtf8StringHandle logDomain, LogLevelFlags logLevel, VariantHandle fields)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
VariantHandleTransfer ownership: None Nullable: False
LogWriterDefault(LogLevelFlags, LogFieldArrayHandle, nuint, IntPtr)
Calls native function g_log_writer_default. Version: 2.50
[Version("2.50")]
public static extern LogWriterOutput LogWriterDefault(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields, IntPtr userData)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- LogWriterOutput
Transfer ownership: None Nullable: False
LogWriterDefaultSetDebugDomains(NullableUtf8StringHandle)
Calls native function g_log_writer_default_set_debug_domains. Version: 2.80
[Version("2.80")]
public static extern void LogWriterDefaultSetDebugDomains(NullableUtf8StringHandle domains)
Parameters
domains
NullableUtf8StringHandleTransfer ownership: None Nullable: True
LogWriterDefaultSetUseStderr(bool)
Calls native function g_log_writer_default_set_use_stderr. Version: 2.68
[Version("2.68")]
public static extern void LogWriterDefaultSetUseStderr(bool useStderr)
Parameters
useStderr
boolTransfer ownership: None Nullable: False
LogWriterDefaultWouldDrop(LogLevelFlags, NullableUtf8StringHandle)
Calls native function g_log_writer_default_would_drop. Version: 2.68
[Version("2.68")]
public static extern bool LogWriterDefaultWouldDrop(LogLevelFlags logLevel, NullableUtf8StringHandle logDomain)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
LogWriterFormatFields(LogLevelFlags, LogFieldArrayHandle, nuint, bool)
Calls native function g_log_writer_format_fields. Version: 2.50
[Version("2.50")]
public static extern NonNullableUtf8StringOwnedHandle LogWriterFormatFields(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields, bool useColor)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
useColor
boolTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
LogWriterIsJournald(int)
Calls native function g_log_writer_is_journald. Version: 2.50
[Version("2.50")]
public static extern bool LogWriterIsJournald(int outputFd)
Parameters
outputFd
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
LogWriterJournald(LogLevelFlags, LogFieldArrayHandle, nuint, IntPtr)
Calls native function g_log_writer_journald. Version: 2.50
[Version("2.50")]
public static extern LogWriterOutput LogWriterJournald(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields, IntPtr userData)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- LogWriterOutput
Transfer ownership: None Nullable: False
LogWriterStandardStreams(LogLevelFlags, LogFieldArrayHandle, nuint, IntPtr)
Calls native function g_log_writer_standard_streams. Version: 2.50
[Version("2.50")]
public static extern LogWriterOutput LogWriterStandardStreams(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields, IntPtr userData)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- LogWriterOutput
Transfer ownership: None Nullable: False
LogWriterSupportsColor(int)
Calls native function g_log_writer_supports_color. Version: 2.50
[Version("2.50")]
public static extern bool LogWriterSupportsColor(int outputFd)
Parameters
outputFd
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
LogWriterSyslog(LogLevelFlags, LogFieldArrayHandle, nuint, IntPtr)
Calls native function g_log_writer_syslog. Version: 2.80
[Version("2.80")]
public static extern LogWriterOutput LogWriterSyslog(LogLevelFlags logLevel, LogFieldArrayHandle fields, nuint nFields, IntPtr userData)
Parameters
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
fields
LogFieldArrayHandleTransfer ownership: None Nullable: False
nFields
nuintTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- LogWriterOutput
Transfer ownership: None Nullable: False
Logv(NullableUtf8StringHandle, LogLevelFlags, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_logv.
public static extern void Logv(NullableUtf8StringHandle logDomain, LogLevelFlags logLevel, NonNullableUtf8StringHandle format, IntPtr args)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Lstat(NonNullablePlatformStringHandle, StatBufHandle)
Calls native function g_lstat. Version: 2.6
[Version("2.6")]
public static extern int Lstat(NonNullablePlatformStringHandle filename, StatBufHandle buf)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
buf
StatBufHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
MainContextDefault()
Calls native function g_main_context_default.
public static extern MainContextUnownedHandle MainContextDefault()
Returns
- MainContextUnownedHandle
Transfer ownership: None Nullable: False
MainContextGetThreadDefault()
Calls native function g_main_context_get_thread_default. Version: 2.22
[Version("2.22")]
public static extern MainContextUnownedHandle MainContextGetThreadDefault()
Returns
- MainContextUnownedHandle
Transfer ownership: None Nullable: True
MainContextRefThreadDefault()
Calls native function g_main_context_ref_thread_default. Version: 2.32
[Version("2.32")]
public static extern MainContextOwnedHandle MainContextRefThreadDefault()
Returns
- MainContextOwnedHandle
Transfer ownership: Full Nullable: False
MainCurrentSource()
Calls native function g_main_current_source. Version: 2.12
[Version("2.12")]
public static extern SourceUnownedHandle MainCurrentSource()
Returns
- SourceUnownedHandle
Transfer ownership: None Nullable: True
MainDepth()
Calls native function g_main_depth.
public static extern int MainDepth()
Returns
- int
Transfer ownership: None Nullable: False
Malloc(nuint)
Calls native function g_malloc.
public static extern IntPtr Malloc(nuint nBytes)
Parameters
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
Malloc0(nuint)
Calls native function g_malloc0.
public static extern IntPtr Malloc0(nuint nBytes)
Parameters
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
Malloc0N(nuint, nuint)
Calls native function g_malloc0_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr Malloc0N(nuint nBlocks, nuint nBlockBytes)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
MallocN(nuint, nuint)
Calls native function g_malloc_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr MallocN(nuint nBlocks, nuint nBlockBytes)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
MarkupErrorQuark()
Calls native function g_markup_error_quark.
public static extern uint MarkupErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
MarkupEscapeText(NonNullableUtf8StringHandle, long)
Calls native function g_markup_escape_text.
public static extern NonNullableUtf8StringOwnedHandle MarkupEscapeText(NonNullableUtf8StringHandle text, long length)
Parameters
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
MarkupVprintfEscaped(NonNullableUtf8StringHandle, IntPtr)
Calls native function g_markup_vprintf_escaped. Version: 2.4
[Version("2.4")]
public static extern NonNullableUtf8StringOwnedHandle MarkupVprintfEscaped(NonNullableUtf8StringHandle format, IntPtr args)
Parameters
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
MemChunkInfo()
Calls native function g_mem_chunk_info.
public static extern void MemChunkInfo()
MemIsSystemMalloc()
Calls native function g_mem_is_system_malloc.
public static extern bool MemIsSystemMalloc()
Returns
- bool
Transfer ownership: None Nullable: False
MemProfile()
Calls native function g_mem_profile.
public static extern void MemProfile()
MemSetVtable(MemVTableHandle)
Calls native function g_mem_set_vtable.
public static extern void MemSetVtable(MemVTableHandle vtable)
Parameters
vtable
MemVTableHandleTransfer ownership: None Nullable: False
Memdup(IntPtr, uint)
Calls native function g_memdup.
public static extern IntPtr Memdup(IntPtr mem, uint byteSize)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
byteSize
uintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
Memdup2(IntPtr, nuint)
Calls native function g_memdup2. Version: 2.68
[Version("2.68")]
public static extern IntPtr Memdup2(IntPtr mem, nuint byteSize)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
byteSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
Mkdir(NonNullablePlatformStringHandle, int)
Calls native function g_mkdir. Version: 2.6
[Version("2.6")]
public static extern int Mkdir(NonNullablePlatformStringHandle filename, int mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
MkdirWithParents(NonNullablePlatformStringHandle, int)
Calls native function g_mkdir_with_parents. Version: 2.8
[Version("2.8")]
public static extern int MkdirWithParents(NonNullablePlatformStringHandle pathname, int mode)
Parameters
pathname
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Mkdtemp(NonNullablePlatformStringHandle)
Calls native function g_mkdtemp. Version: 2.30
[Version("2.30")]
public static extern NullablePlatformStringOwnedHandle Mkdtemp(NonNullablePlatformStringHandle tmpl)
Parameters
tmpl
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: True
MkdtempFull(NonNullablePlatformStringHandle, int)
Calls native function g_mkdtemp_full. Version: 2.30
[Version("2.30")]
public static extern NullablePlatformStringOwnedHandle MkdtempFull(NonNullablePlatformStringHandle tmpl, int mode)
Parameters
tmpl
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: True
Mkstemp(NonNullablePlatformStringHandle)
Calls native function g_mkstemp.
public static extern int Mkstemp(NonNullablePlatformStringHandle tmpl)
Parameters
tmpl
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
MkstempFull(NonNullablePlatformStringHandle, int, int)
Calls native function g_mkstemp_full. Version: 2.22
[Version("2.22")]
public static extern int MkstempFull(NonNullablePlatformStringHandle tmpl, int flags, int mode)
Parameters
tmpl
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
flags
intTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
MutexNew()
Calls native function g_mutex_new.
public static extern IntPtr MutexNew()
Returns
- IntPtr
Transfer ownership: None Nullable: False
NodePopAllocator()
Calls native function g_node_pop_allocator.
public static extern void NodePopAllocator()
NodePushAllocator(AllocatorHandle)
Calls native function g_node_push_allocator.
public static extern void NodePushAllocator(AllocatorHandle allocator)
Parameters
allocator
AllocatorHandleTransfer ownership: None Nullable: False
NullifyPointer(IntPtr)
Calls native function g_nullify_pointer.
public static extern void NullifyPointer(IntPtr nullifyLocation)
Parameters
nullifyLocation
IntPtrTransfer ownership: None Nullable: False
NumberParserErrorQuark()
Calls native function g_number_parser_error_quark.
public static extern uint NumberParserErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
OnErrorQuery(NonNullableUtf8StringHandle)
Calls native function g_on_error_query.
public static extern void OnErrorQuery(NonNullableUtf8StringHandle prgName)
Parameters
prgName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
OnErrorStackTrace(NonNullableUtf8StringHandle)
Calls native function g_on_error_stack_trace.
public static extern void OnErrorStackTrace(NonNullableUtf8StringHandle prgName)
Parameters
prgName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
OnceInitEnter(ref IntPtr)
Calls native function g_once_init_enter. Version: 2.14
[Version("2.14")]
public static extern bool OnceInitEnter(ref IntPtr location)
Parameters
location
IntPtrTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
OnceInitEnterImpl(ref nuint)
Calls native function g_once_init_enter_impl.
public static extern bool OnceInitEnterImpl(ref nuint location)
Parameters
location
nuintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
OnceInitEnterPointer(IntPtr)
Calls native function g_once_init_enter_pointer. Version: 2.80
[Version("2.80")]
public static extern bool OnceInitEnterPointer(IntPtr location)
Parameters
location
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
OnceInitLeave(ref IntPtr, nuint)
Calls native function g_once_init_leave. Version: 2.14
[Version("2.14")]
public static extern void OnceInitLeave(ref IntPtr location, nuint result)
Parameters
location
IntPtrTransfer ownership: Full Nullable: False
result
nuintTransfer ownership: None Nullable: False
OnceInitLeavePointer(IntPtr, IntPtr)
Calls native function g_once_init_leave_pointer. Version: 2.80
[Version("2.80")]
public static extern void OnceInitLeavePointer(IntPtr location, IntPtr result)
Parameters
location
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: True
Open(NonNullablePlatformStringHandle, int, int)
Calls native function g_open. Version: 2.6
[Version("2.6")]
public static extern int Open(NonNullablePlatformStringHandle filename, int flags, int mode)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
flags
intTransfer ownership: None Nullable: False
mode
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
OptionErrorQuark()
Calls native function g_option_error_quark.
public static extern uint OptionErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ParseDebugString(NullableUtf8StringHandle, DebugKeyArrayHandle, uint)
Calls native function g_parse_debug_string.
public static extern uint ParseDebugString(NullableUtf8StringHandle @string, DebugKeyArrayHandle keys, uint nkeys)
Parameters
string
NullableUtf8StringHandlekeys
DebugKeyArrayHandleTransfer ownership: None Nullable: False
nkeys
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
PathBufEqual(IntPtr, IntPtr)
Calls native function g_path_buf_equal. Version: 2.76
[Version("2.76")]
public static extern bool PathBufEqual(IntPtr v1, IntPtr v2)
Parameters
v1
IntPtrTransfer ownership: None Nullable: False
v2
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PathGetBasename(NonNullablePlatformStringHandle)
Calls native function g_path_get_basename.
public static extern NonNullablePlatformStringOwnedHandle PathGetBasename(NonNullablePlatformStringHandle fileName)
Parameters
fileName
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
PathGetDirname(NonNullablePlatformStringHandle)
Calls native function g_path_get_dirname.
public static extern NonNullablePlatformStringOwnedHandle PathGetDirname(NonNullablePlatformStringHandle fileName)
Parameters
fileName
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
PathIsAbsolute(NonNullablePlatformStringHandle)
Calls native function g_path_is_absolute.
public static extern bool PathIsAbsolute(NonNullablePlatformStringHandle fileName)
Parameters
fileName
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PathSkipRoot(NonNullablePlatformStringHandle)
Calls native function g_path_skip_root.
public static extern NullablePlatformStringUnownedHandle PathSkipRoot(NonNullablePlatformStringHandle fileName)
Parameters
fileName
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
PatternMatch(PatternSpecHandle, uint, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_pattern_match.
public static extern bool PatternMatch(PatternSpecHandle pspec, uint stringLength, NonNullableUtf8StringHandle @string, NullableUtf8StringHandle stringReversed)
Parameters
pspec
PatternSpecHandleTransfer ownership: None Nullable: False
stringLength
uintTransfer ownership: None Nullable: False
string
NonNullableUtf8StringHandlestringReversed
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
PatternMatchSimple(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_pattern_match_simple.
public static extern bool PatternMatchSimple(NonNullableUtf8StringHandle pattern, NonNullableUtf8StringHandle @string)
Parameters
pattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
PatternMatchString(PatternSpecHandle, NonNullableUtf8StringHandle)
Calls native function g_pattern_match_string.
public static extern bool PatternMatchString(PatternSpecHandle pspec, NonNullableUtf8StringHandle @string)
Parameters
pspec
PatternSpecHandleTransfer ownership: None Nullable: False
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
PointerBitLock(IntPtr, int)
Calls native function g_pointer_bit_lock. Version: 2.30
[Version("2.30")]
public static extern void PointerBitLock(IntPtr address, int lockBit)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
PointerBitLockAndGet(IntPtr, uint, out UIntPtr)
Calls native function g_pointer_bit_lock_and_get. Version: 2.80
[Version("2.80")]
public static extern void PointerBitLockAndGet(IntPtr address, uint lockBit, out UIntPtr outPtr)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
lockBit
uintTransfer ownership: None Nullable: False
outPtr
nuintTransfer ownership: Full Nullable: False
PointerBitLockMaskPtr(IntPtr, uint, bool, UIntPtr, IntPtr)
Calls native function g_pointer_bit_lock_mask_ptr. Version: 2.80
[Version("2.80")]
public static extern IntPtr PointerBitLockMaskPtr(IntPtr ptr, uint lockBit, bool set, UIntPtr preserveMask, IntPtr preservePtr)
Parameters
ptr
IntPtrTransfer ownership: None Nullable: True
lockBit
uintTransfer ownership: None Nullable: False
set
boolTransfer ownership: None Nullable: False
preserveMask
nuintTransfer ownership: None Nullable: False
preservePtr
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
PointerBitTrylock(IntPtr, int)
Calls native function g_pointer_bit_trylock. Version: 2.30
[Version("2.30")]
public static extern bool PointerBitTrylock(IntPtr address, int lockBit)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PointerBitUnlock(IntPtr, int)
Calls native function g_pointer_bit_unlock. Version: 2.30
[Version("2.30")]
public static extern void PointerBitUnlock(IntPtr address, int lockBit)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
lockBit
intTransfer ownership: None Nullable: False
PointerBitUnlockAndSet(IntPtr, uint, IntPtr, UIntPtr)
Calls native function g_pointer_bit_unlock_and_set. Version: 2.80
[Version("2.80")]
public static extern void PointerBitUnlockAndSet(IntPtr address, uint lockBit, IntPtr ptr, UIntPtr preserveMask)
Parameters
address
IntPtrTransfer ownership: None Nullable: False
lockBit
uintTransfer ownership: None Nullable: False
ptr
IntPtrTransfer ownership: None Nullable: True
preserveMask
nuintTransfer ownership: None Nullable: False
Poll(PollFDHandle, uint, int)
Calls native function g_poll. Version: 2.20
[Version("2.20")]
public static extern int Poll(PollFDHandle fds, uint nfds, int timeout)
Parameters
fds
PollFDHandleTransfer ownership: None Nullable: False
nfds
uintTransfer ownership: None Nullable: False
timeout
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
PrintfStringUpperBound(NonNullableUtf8StringHandle, IntPtr)
Calls native function g_printf_string_upper_bound.
public static extern nuint PrintfStringUpperBound(NonNullableUtf8StringHandle format, IntPtr args)
Parameters
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
PrivateNew(DestroyNotify)
Calls native function g_private_new.
public static extern PrivateUnownedHandle PrivateNew(DestroyNotify notify)
Parameters
notify
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- PrivateUnownedHandle
Transfer ownership: None Nullable: False
PtrArrayFind(IntPtr, IntPtr, out uint)
Calls native function g_ptr_array_find. Version: 2.54
[Version("2.54")]
public static extern bool PtrArrayFind(IntPtr haystack, IntPtr needle, out uint index)
Parameters
haystack
IntPtrTransfer ownership: None Nullable: False
needle
IntPtrTransfer ownership: None Nullable: True
index
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PtrArrayFindWithEqualFunc(IntPtr, IntPtr, EqualFunc, out uint)
Calls native function g_ptr_array_find_with_equal_func. Version: 2.54
[Version("2.54")]
public static extern bool PtrArrayFindWithEqualFunc(IntPtr haystack, IntPtr needle, EqualFunc equalFunc, out uint index)
Parameters
haystack
IntPtrTransfer ownership: None Nullable: False
needle
IntPtrTransfer ownership: None Nullable: True
equalFunc
EqualFuncTransfer ownership: None Nullable: True
index
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
QsortWithData(IntPtr, int, nuint, CompareDataFunc, IntPtr)
Calls native function g_qsort_with_data.
public static extern void QsortWithData(IntPtr pbase, int totalElems, nuint size, CompareDataFunc compareFunc, IntPtr userData)
Parameters
pbase
IntPtrTransfer ownership: None Nullable: False
totalElems
intTransfer ownership: None Nullable: False
size
nuintTransfer ownership: None Nullable: False
compareFunc
CompareDataFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
QuarkFromStaticString(NullableUtf8StringHandle)
Calls native function g_quark_from_static_string.
public static extern uint QuarkFromStaticString(NullableUtf8StringHandle @string)
Parameters
string
NullableUtf8StringHandle
Returns
- uint
Transfer ownership: None Nullable: False
QuarkFromString(NullableUtf8StringHandle)
Calls native function g_quark_from_string.
public static extern uint QuarkFromString(NullableUtf8StringHandle @string)
Parameters
string
NullableUtf8StringHandle
Returns
- uint
Transfer ownership: None Nullable: False
QuarkToString(Quark)
Calls native function g_quark_to_string.
public static extern NonNullableUtf8StringUnownedHandle QuarkToString(Quark quark)
Parameters
quark
QuarkTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
QuarkTryString(NullableUtf8StringHandle)
Calls native function g_quark_try_string.
public static extern uint QuarkTryString(NullableUtf8StringHandle @string)
Parameters
string
NullableUtf8StringHandle
Returns
- uint
Transfer ownership: None Nullable: False
RandomDouble()
Calls native function g_random_double.
public static extern double RandomDouble()
Returns
- double
Transfer ownership: None Nullable: False
RandomDoubleRange(double, double)
Calls native function g_random_double_range.
public static extern double RandomDoubleRange(double begin, double end)
Parameters
begin
doubleTransfer ownership: None Nullable: False
end
doubleTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
RandomInt()
Calls native function g_random_int.
public static extern uint RandomInt()
Returns
- uint
Transfer ownership: None Nullable: False
RandomIntRange(int, int)
Calls native function g_random_int_range.
public static extern int RandomIntRange(int begin, int end)
Parameters
Returns
- int
Transfer ownership: None Nullable: False
RandomSetSeed(uint)
Calls native function g_random_set_seed.
public static extern void RandomSetSeed(uint seed)
Parameters
seed
uintTransfer ownership: None Nullable: False
RcBoxAcquire(IntPtr)
Calls native function g_rc_box_acquire. Version: 2.58
[Version("2.58")]
public static extern IntPtr RcBoxAcquire(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RcBoxAlloc(nuint)
Calls native function g_rc_box_alloc. Version: 2.58
[Version("2.58")]
public static extern IntPtr RcBoxAlloc(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RcBoxAlloc0(nuint)
Calls native function g_rc_box_alloc0. Version: 2.58
[Version("2.58")]
public static extern IntPtr RcBoxAlloc0(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RcBoxDup(nuint, IntPtr)
Calls native function g_rc_box_dup. Version: 2.58
[Version("2.58")]
public static extern IntPtr RcBoxDup(nuint blockSize, IntPtr memBlock)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RcBoxGetSize(IntPtr)
Calls native function g_rc_box_get_size. Version: 2.58
[Version("2.58")]
public static extern nuint RcBoxGetSize(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
RcBoxRelease(IntPtr)
Calls native function g_rc_box_release. Version: 2.58
[Version("2.58")]
public static extern void RcBoxRelease(IntPtr memBlock)
Parameters
memBlock
IntPtrTransfer ownership: Full Nullable: False
RcBoxReleaseFull(IntPtr, DestroyNotify)
Calls native function g_rc_box_release_full. Version: 2.58
[Version("2.58")]
public static extern void RcBoxReleaseFull(IntPtr memBlock, DestroyNotify clearFunc)
Parameters
memBlock
IntPtrTransfer ownership: Full Nullable: False
clearFunc
DestroyNotifyTransfer ownership: None Nullable: False
Realloc(IntPtr, nuint)
Calls native function g_realloc.
public static extern IntPtr Realloc(IntPtr mem, nuint nBytes)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
ReallocN(IntPtr, nuint, nuint)
Calls native function g_realloc_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr ReallocN(IntPtr mem, nuint nBlocks, nuint nBlockBytes)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
RefCountCompare(ref int, int)
Calls native function g_ref_count_compare. Version: 2.58
[Version("2.58")]
public static extern bool RefCountCompare(ref int rc, int val)
Parameters
Returns
- bool
Transfer ownership: None Nullable: False
RefCountDec(ref int)
Calls native function g_ref_count_dec. Version: 2.58
[Version("2.58")]
public static extern bool RefCountDec(ref int rc)
Parameters
rc
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
RefCountInc(ref int)
Calls native function g_ref_count_inc. Version: 2.58
[Version("2.58")]
public static extern void RefCountInc(ref int rc)
Parameters
rc
intTransfer ownership: None Nullable: False
RefCountInit(ref int)
Calls native function g_ref_count_init. Version: 2.58
[Version("2.58")]
public static extern void RefCountInit(ref int rc)
Parameters
rc
intTransfer ownership: None Nullable: False
RefStringAcquire(NonNullableUtf8StringHandle)
Calls native function g_ref_string_acquire. Version: 2.58
[Version("2.58")]
public static extern NonNullableUtf8StringOwnedHandle RefStringAcquire(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RefStringLength(NonNullableUtf8StringHandle)
Calls native function g_ref_string_length. Version: 2.58
[Version("2.58")]
public static extern nuint RefStringLength(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
RefStringNew(NonNullableUtf8StringHandle)
Calls native function g_ref_string_new. Version: 2.58
[Version("2.58")]
public static extern NonNullableUtf8StringOwnedHandle RefStringNew(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RefStringNewIntern(NonNullableUtf8StringHandle)
Calls native function g_ref_string_new_intern. Version: 2.58
[Version("2.58")]
public static extern NonNullableUtf8StringOwnedHandle RefStringNewIntern(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RefStringNewLen(NonNullableUtf8StringHandle, long)
Calls native function g_ref_string_new_len. Version: 2.58
[Version("2.58")]
public static extern NonNullableUtf8StringOwnedHandle RefStringNewLen(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RefStringRelease(NonNullableUtf8StringHandle)
Calls native function g_ref_string_release. Version: 2.58
[Version("2.58")]
public static extern void RefStringRelease(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
RegexCheckReplacement(NonNullableUtf8StringHandle, out bool, out ErrorOwnedHandle)
Calls native function g_regex_check_replacement. Version: 2.14
[Version("2.14")]
public static extern bool RegexCheckReplacement(NonNullableUtf8StringHandle replacement, out bool hasReferences, out ErrorOwnedHandle error)
Parameters
replacement
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
hasReferences
boolTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
RegexErrorQuark()
Calls native function g_regex_error_quark.
public static extern uint RegexErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
RegexEscapeNul(NonNullableUtf8StringHandle, int)
Calls native function g_regex_escape_nul. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle RegexEscapeNul(NonNullableUtf8StringHandle @string, int length)
Parameters
string
NonNullableUtf8StringHandlelength
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RegexEscapeString(NonNullableUtf8StringHandle, int)
Calls native function g_regex_escape_string. Version: 2.14
[Version("2.14")]
public static extern NonNullableUtf8StringOwnedHandle RegexEscapeString(NonNullableUtf8StringHandle @string, int length)
Parameters
string
NonNullableUtf8StringHandlelength
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
RegexMatchSimple(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, RegexCompileFlags, RegexMatchFlags)
Calls native function g_regex_match_simple. Version: 2.14
[Version("2.14")]
public static extern bool RegexMatchSimple(NonNullableUtf8StringHandle pattern, NonNullableUtf8StringHandle @string, RegexCompileFlags compileOptions, RegexMatchFlags matchOptions)
Parameters
pattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
string
NonNullableUtf8StringHandlecompileOptions
RegexCompileFlagsTransfer ownership: None Nullable: False
matchOptions
RegexMatchFlagsTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
RegexSplitSimple(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, RegexCompileFlags, RegexMatchFlags)
Calls native function g_regex_split_simple. Version: 2.14
[Version("2.14")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle RegexSplitSimple(NonNullableUtf8StringHandle pattern, NonNullableUtf8StringHandle @string, RegexCompileFlags compileOptions, RegexMatchFlags matchOptions)
Parameters
pattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
string
NonNullableUtf8StringHandlecompileOptions
RegexCompileFlagsTransfer ownership: None Nullable: False
matchOptions
RegexMatchFlagsTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
ReloadUserSpecialDirsCache()
Calls native function g_reload_user_special_dirs_cache. Version: 2.22
[Version("2.22")]
public static extern void ReloadUserSpecialDirsCache()
Remove(NonNullablePlatformStringHandle)
Calls native function g_remove. Version: 2.6
[Version("2.6")]
public static extern int Remove(NonNullablePlatformStringHandle filename)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Rename(NonNullablePlatformStringHandle, NonNullablePlatformStringHandle)
Calls native function g_rename. Version: 2.6
[Version("2.6")]
public static extern int Rename(NonNullablePlatformStringHandle oldfilename, NonNullablePlatformStringHandle newfilename)
Parameters
oldfilename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
newfilename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
ReturnIfFailWarning(NullableUtf8StringHandle, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_return_if_fail_warning.
public static extern void ReturnIfFailWarning(NullableUtf8StringHandle logDomain, NonNullableUtf8StringHandle prettyFunction, NullableUtf8StringHandle expression)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
prettyFunction
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
expression
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Rmdir(NonNullablePlatformStringHandle)
Calls native function g_rmdir. Version: 2.6
[Version("2.6")]
public static extern int Rmdir(NonNullablePlatformStringHandle filename)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
SequenceForeachRange(SequenceIterHandle, SequenceIterHandle, Func, IntPtr)
Calls native function g_sequence_foreach_range. Version: 2.14
[Version("2.14")]
public static extern void SequenceForeachRange(SequenceIterHandle begin, SequenceIterHandle end, Func func, IntPtr userData)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
func
FuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
SequenceGet(SequenceIterHandle)
Calls native function g_sequence_get. Version: 2.14
[Version("2.14")]
public static extern IntPtr SequenceGet(SequenceIterHandle iter)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
SequenceInsertBefore(SequenceIterHandle, IntPtr)
Calls native function g_sequence_insert_before. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle SequenceInsertBefore(SequenceIterHandle iter, IntPtr data)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
SequenceMove(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_move. Version: 2.14
[Version("2.14")]
public static extern void SequenceMove(SequenceIterHandle src, SequenceIterHandle dest)
Parameters
src
SequenceIterHandleTransfer ownership: None Nullable: False
dest
SequenceIterHandleTransfer ownership: None Nullable: False
SequenceMoveRange(SequenceIterHandle, SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_move_range. Version: 2.14
[Version("2.14")]
public static extern void SequenceMoveRange(SequenceIterHandle dest, SequenceIterHandle begin, SequenceIterHandle end)
Parameters
dest
SequenceIterHandleTransfer ownership: None Nullable: False
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
SequenceRangeGetMidpoint(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_range_get_midpoint. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle SequenceRangeGetMidpoint(SequenceIterHandle begin, SequenceIterHandle end)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
SequenceRemove(SequenceIterHandle)
Calls native function g_sequence_remove. Version: 2.14
[Version("2.14")]
public static extern void SequenceRemove(SequenceIterHandle iter)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
SequenceRemoveRange(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_remove_range. Version: 2.14
[Version("2.14")]
public static extern void SequenceRemoveRange(SequenceIterHandle begin, SequenceIterHandle end)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
SequenceSet(SequenceIterHandle, IntPtr)
Calls native function g_sequence_set. Version: 2.14
[Version("2.14")]
public static extern void SequenceSet(SequenceIterHandle iter, IntPtr data)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
SequenceSortChanged(SequenceIterHandle, CompareDataFunc, IntPtr)
Calls native function g_sequence_sort_changed. Version: 2.14
[Version("2.14")]
public static extern void SequenceSortChanged(SequenceIterHandle iter, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
SequenceSortChangedIter(SequenceIterHandle, SequenceIterCompareFunc, IntPtr)
Calls native function g_sequence_sort_changed_iter. Version: 2.14
[Version("2.14")]
public static extern void SequenceSortChangedIter(SequenceIterHandle iter, SequenceIterCompareFunc iterCmp, IntPtr cmpData)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
iterCmp
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
SequenceSwap(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_swap. Version: 2.14
[Version("2.14")]
public static extern void SequenceSwap(SequenceIterHandle a, SequenceIterHandle b)
Parameters
a
SequenceIterHandleTransfer ownership: None Nullable: False
b
SequenceIterHandleTransfer ownership: None Nullable: False
SetApplicationName(NonNullableUtf8StringHandle)
Calls native function g_set_application_name. Version: 2.2
[Version("2.2")]
public static extern void SetApplicationName(NonNullableUtf8StringHandle applicationName)
Parameters
applicationName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetPrgname(NonNullableUtf8StringHandle)
Calls native function g_set_prgname.
public static extern void SetPrgname(NonNullableUtf8StringHandle prgname)
Parameters
prgname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Setenv(NonNullablePlatformStringHandle, NonNullablePlatformStringHandle, bool)
Calls native function g_setenv. Version: 2.4
[Version("2.4")]
public static extern bool Setenv(NonNullablePlatformStringHandle variable, NonNullablePlatformStringHandle value, bool overwrite)
Parameters
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
value
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
overwrite
boolTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ShellErrorQuark()
Calls native function g_shell_error_quark.
public static extern uint ShellErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ShellParseArgv(NonNullablePlatformStringHandle, out int, out PlatformStringArrayNullTerminatedOwnedHandle, out ErrorOwnedHandle)
Calls native function g_shell_parse_argv.
public static extern bool ShellParseArgv(NonNullablePlatformStringHandle commandLine, out int argcp, out PlatformStringArrayNullTerminatedOwnedHandle argvp, out ErrorOwnedHandle error)
Parameters
commandLine
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
argcp
intTransfer ownership: Full Nullable: False
argvp
PlatformStringArrayNullTerminatedOwnedHandleTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
ShellQuote(NonNullablePlatformStringHandle)
Calls native function g_shell_quote.
public static extern NonNullablePlatformStringOwnedHandle ShellQuote(NonNullablePlatformStringHandle unquotedString)
Parameters
unquotedString
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
ShellUnquote(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_shell_unquote.
public static extern NonNullablePlatformStringOwnedHandle ShellUnquote(NonNullablePlatformStringHandle quotedString, out ErrorOwnedHandle error)
Parameters
quotedString
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullablePlatformStringOwnedHandle
Transfer ownership: Full Nullable: False
SliceAlloc(nuint)
Calls native function g_slice_alloc. Version: 2.10
[Version("2.10")]
public static extern IntPtr SliceAlloc(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
SliceAlloc0(nuint)
Calls native function g_slice_alloc0. Version: 2.10
[Version("2.10")]
public static extern IntPtr SliceAlloc0(nuint blockSize)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
SliceCopy(nuint, IntPtr)
Calls native function g_slice_copy. Version: 2.14
[Version("2.14")]
public static extern IntPtr SliceCopy(nuint blockSize, IntPtr memBlock)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
memBlock
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
SliceFree1(nuint, IntPtr)
Calls native function g_slice_free1. Version: 2.10
[Version("2.10")]
public static extern void SliceFree1(nuint blockSize, IntPtr memBlock)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
memBlock
IntPtrTransfer ownership: None Nullable: True
SliceFreeChainWithOffset(nuint, IntPtr, nuint)
Calls native function g_slice_free_chain_with_offset. Version: 2.10
[Version("2.10")]
public static extern void SliceFreeChainWithOffset(nuint blockSize, IntPtr memChain, nuint nextOffset)
Parameters
blockSize
nuintTransfer ownership: None Nullable: False
memChain
IntPtrTransfer ownership: None Nullable: True
nextOffset
nuintTransfer ownership: None Nullable: False
SliceGetConfig(SliceConfig)
Calls native function g_slice_get_config.
public static extern long SliceGetConfig(SliceConfig ckey)
Parameters
ckey
SliceConfigTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
SliceGetConfigState(SliceConfig, long, ref uint)
Calls native function g_slice_get_config_state.
public static extern IntPtr SliceGetConfigState(SliceConfig ckey, long address, ref uint nValues)
Parameters
ckey
SliceConfigTransfer ownership: None Nullable: False
address
longTransfer ownership: None Nullable: False
nValues
uintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
SliceSetConfig(SliceConfig, long)
Calls native function g_slice_set_config.
public static extern void SliceSetConfig(SliceConfig ckey, long value)
Parameters
ckey
SliceConfigTransfer ownership: None Nullable: False
value
longTransfer ownership: None Nullable: False
SlistPopAllocator()
Calls native function g_slist_pop_allocator.
public static extern void SlistPopAllocator()
SlistPushAllocator(AllocatorHandle)
Calls native function g_slist_push_allocator.
public static extern void SlistPushAllocator(AllocatorHandle allocator)
Parameters
allocator
AllocatorHandleTransfer ownership: None Nullable: False
SourceRemove(uint)
Calls native function g_source_remove.
public static extern bool SourceRemove(uint tag)
Parameters
tag
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SourceRemoveByFuncsUserData(SourceFuncsHandle, IntPtr)
Calls native function g_source_remove_by_funcs_user_data.
public static extern bool SourceRemoveByFuncsUserData(SourceFuncsHandle funcs, IntPtr userData)
Parameters
funcs
SourceFuncsHandleTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
SourceRemoveByUserData(IntPtr)
Calls native function g_source_remove_by_user_data.
public static extern bool SourceRemoveByUserData(IntPtr userData)
Parameters
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
SourceSetNameById(uint, NonNullableUtf8StringHandle)
Calls native function g_source_set_name_by_id. Version: 2.26
[Version("2.26")]
public static extern void SourceSetNameById(uint tag, NonNullableUtf8StringHandle name)
Parameters
tag
uintTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SpacedPrimesClosest(uint)
Calls native function g_spaced_primes_closest.
public static extern uint SpacedPrimesClosest(uint num)
Parameters
num
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
SpawnAsync(NullablePlatformStringHandle, PlatformStringArrayNullTerminatedHandle, PlatformStringArrayNullTerminatedHandle, SpawnFlags, SpawnChildSetupFunc, IntPtr, out Pid, out ErrorOwnedHandle)
Calls native function g_spawn_async.
public static extern bool SpawnAsync(NullablePlatformStringHandle workingDirectory, PlatformStringArrayNullTerminatedHandle argv, PlatformStringArrayNullTerminatedHandle envp, SpawnFlags flags, SpawnChildSetupFunc childSetup, IntPtr userData, out Pid childPid, out ErrorOwnedHandle error)
Parameters
workingDirectory
NullablePlatformStringHandleTransfer ownership: None Nullable: True
argv
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
SpawnFlagsTransfer ownership: None Nullable: False
childSetup
SpawnChildSetupFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
childPid
PidTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnAsyncWithFds(NullablePlatformStringHandle, Utf8StringArrayNullTerminatedHandle, Utf8StringArrayNullTerminatedHandle, SpawnFlags, SpawnChildSetupFunc, IntPtr, out Pid, int, int, int, out ErrorOwnedHandle)
Calls native function g_spawn_async_with_fds. Version: 2.58
[Version("2.58")]
public static extern bool SpawnAsyncWithFds(NullablePlatformStringHandle workingDirectory, Utf8StringArrayNullTerminatedHandle argv, Utf8StringArrayNullTerminatedHandle envp, SpawnFlags flags, SpawnChildSetupFunc childSetup, IntPtr userData, out Pid childPid, int stdinFd, int stdoutFd, int stderrFd, out ErrorOwnedHandle error)
Parameters
workingDirectory
NullablePlatformStringHandleTransfer ownership: None Nullable: True
argv
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
envp
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
SpawnFlagsTransfer ownership: None Nullable: False
childSetup
SpawnChildSetupFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
childPid
PidTransfer ownership: Full Nullable: False
stdinFd
intTransfer ownership: None Nullable: False
stdoutFd
intTransfer ownership: None Nullable: False
stderrFd
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnAsyncWithPipes(NullablePlatformStringHandle, PlatformStringArrayNullTerminatedHandle, PlatformStringArrayNullTerminatedHandle, SpawnFlags, SpawnChildSetupFunc, IntPtr, out Pid, out int, out int, out int, out ErrorOwnedHandle)
Calls native function g_spawn_async_with_pipes.
public static extern bool SpawnAsyncWithPipes(NullablePlatformStringHandle workingDirectory, PlatformStringArrayNullTerminatedHandle argv, PlatformStringArrayNullTerminatedHandle envp, SpawnFlags flags, SpawnChildSetupFunc childSetup, IntPtr userData, out Pid childPid, out int standardInput, out int standardOutput, out int standardError, out ErrorOwnedHandle error)
Parameters
workingDirectory
NullablePlatformStringHandleTransfer ownership: None Nullable: True
argv
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
SpawnFlagsTransfer ownership: None Nullable: False
childSetup
SpawnChildSetupFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
childPid
PidTransfer ownership: Full Nullable: False
standardInput
intTransfer ownership: Full Nullable: False
standardOutput
intTransfer ownership: Full Nullable: False
standardError
intTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnAsyncWithPipesAndFds(NullablePlatformStringHandle, PlatformStringArrayNullTerminatedHandle, PlatformStringArrayNullTerminatedHandle, SpawnFlags, SpawnChildSetupFunc, IntPtr, int, int, int, ref int, ref int, nuint, out Pid, out int, out int, out int, out ErrorOwnedHandle)
Calls native function g_spawn_async_with_pipes_and_fds. Version: 2.68
[Version("2.68")]
public static extern bool SpawnAsyncWithPipesAndFds(NullablePlatformStringHandle workingDirectory, PlatformStringArrayNullTerminatedHandle argv, PlatformStringArrayNullTerminatedHandle envp, SpawnFlags flags, SpawnChildSetupFunc childSetup, IntPtr userData, int stdinFd, int stdoutFd, int stderrFd, ref int sourceFds, ref int targetFds, nuint nFds, out Pid childPidOut, out int stdinPipeOut, out int stdoutPipeOut, out int stderrPipeOut, out ErrorOwnedHandle error)
Parameters
workingDirectory
NullablePlatformStringHandleTransfer ownership: None Nullable: True
argv
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
SpawnFlagsTransfer ownership: None Nullable: False
childSetup
SpawnChildSetupFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
stdinFd
intTransfer ownership: None Nullable: False
stdoutFd
intTransfer ownership: None Nullable: False
stderrFd
intTransfer ownership: None Nullable: False
sourceFds
intTransfer ownership: None Nullable: True
targetFds
intTransfer ownership: None Nullable: True
nFds
nuintTransfer ownership: None Nullable: False
childPidOut
PidTransfer ownership: Full Nullable: False
stdinPipeOut
intTransfer ownership: Full Nullable: False
stdoutPipeOut
intTransfer ownership: Full Nullable: False
stderrPipeOut
intTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnCheckExitStatus(int, out ErrorOwnedHandle)
Calls native function g_spawn_check_exit_status. Version: 2.34
[Version("2.34")]
public static extern bool SpawnCheckExitStatus(int waitStatus, out ErrorOwnedHandle error)
Parameters
waitStatus
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnCheckWaitStatus(int, out ErrorOwnedHandle)
Calls native function g_spawn_check_wait_status. Version: 2.70
[Version("2.70")]
public static extern bool SpawnCheckWaitStatus(int waitStatus, out ErrorOwnedHandle error)
Parameters
waitStatus
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnClosePid(Pid)
Calls native function g_spawn_close_pid.
public static extern void SpawnClosePid(Pid pid)
Parameters
pid
PidTransfer ownership: None Nullable: False
SpawnCommandLineAsync(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_spawn_command_line_async.
public static extern bool SpawnCommandLineAsync(NonNullablePlatformStringHandle commandLine, out ErrorOwnedHandle error)
Parameters
commandLine
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnCommandLineSync(NonNullablePlatformStringHandle, out byte[], out byte[], out int, out ErrorOwnedHandle)
Calls native function g_spawn_command_line_sync.
public static extern bool SpawnCommandLineSync(NonNullablePlatformStringHandle commandLine, out byte[] standardOutput, out byte[] standardError, out int waitStatus, out ErrorOwnedHandle error)
Parameters
commandLine
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
standardOutput
byte[]Transfer ownership: Full Nullable: False
standardError
byte[]Transfer ownership: Full Nullable: False
waitStatus
intTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SpawnErrorQuark()
Calls native function g_spawn_error_quark.
public static extern uint SpawnErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
SpawnExitErrorQuark()
Calls native function g_spawn_exit_error_quark.
public static extern uint SpawnExitErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
SpawnSync(NullablePlatformStringHandle, PlatformStringArrayNullTerminatedHandle, PlatformStringArrayNullTerminatedHandle, SpawnFlags, SpawnChildSetupFunc, IntPtr, out byte[], out byte[], out int, out ErrorOwnedHandle)
Calls native function g_spawn_sync.
public static extern bool SpawnSync(NullablePlatformStringHandle workingDirectory, PlatformStringArrayNullTerminatedHandle argv, PlatformStringArrayNullTerminatedHandle envp, SpawnFlags flags, SpawnChildSetupFunc childSetup, IntPtr userData, out byte[] standardOutput, out byte[] standardError, out int waitStatus, out ErrorOwnedHandle error)
Parameters
workingDirectory
NullablePlatformStringHandleTransfer ownership: None Nullable: True
argv
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
SpawnFlagsTransfer ownership: None Nullable: False
childSetup
SpawnChildSetupFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
standardOutput
byte[]Transfer ownership: Full Nullable: False
standardError
byte[]Transfer ownership: Full Nullable: False
waitStatus
intTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
Stat(NonNullablePlatformStringHandle, StatBufHandle)
Calls native function g_stat. Version: 2.6
[Version("2.6")]
public static extern int Stat(NonNullablePlatformStringHandle filename, StatBufHandle buf)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
buf
StatBufHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Stpcpy(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_stpcpy.
public static extern NonNullableUtf8StringOwnedHandle Stpcpy(NonNullableUtf8StringHandle dest, NonNullableUtf8StringHandle src)
Parameters
dest
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
src
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
StrEqual(IntPtr, IntPtr)
Calls native function g_str_equal.
public static extern bool StrEqual(IntPtr v1, IntPtr v2)
Parameters
v1
IntPtrTransfer ownership: None Nullable: False
v2
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrHasPrefix(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_str_has_prefix. Version: 2.2
[Version("2.2")]
public static extern bool StrHasPrefix(NonNullableUtf8StringHandle str, NonNullableUtf8StringHandle prefix)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
prefix
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrHasSuffix(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_str_has_suffix. Version: 2.2
[Version("2.2")]
public static extern bool StrHasSuffix(NonNullableUtf8StringHandle str, NonNullableUtf8StringHandle suffix)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
suffix
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrHash(IntPtr)
Calls native function g_str_hash.
public static extern uint StrHash(IntPtr v)
Parameters
v
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
StrIsAscii(NonNullableUtf8StringHandle)
Calls native function g_str_is_ascii. Version: 2.40
[Version("2.40")]
public static extern bool StrIsAscii(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrMatchString(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, bool)
Calls native function g_str_match_string. Version: 2.40
[Version("2.40")]
public static extern bool StrMatchString(NonNullableUtf8StringHandle searchTerm, NonNullableUtf8StringHandle potentialHit, bool acceptAlternates)
Parameters
searchTerm
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
potentialHit
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
acceptAlternates
boolTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrToAscii(NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_str_to_ascii. Version: 2.40
[Version("2.40")]
public static extern NonNullableUtf8StringOwnedHandle StrToAscii(NonNullableUtf8StringHandle str, NullableUtf8StringHandle fromLocale)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
fromLocale
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
StrTokenizeAndFold(NonNullableUtf8StringHandle, NullableUtf8StringHandle, out Utf8StringArrayNullTerminatedOwnedHandle)
Calls native function g_str_tokenize_and_fold. Version: 2.40
[Version("2.40")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle StrTokenizeAndFold(NonNullableUtf8StringHandle @string, NullableUtf8StringHandle translitLocale, out Utf8StringArrayNullTerminatedOwnedHandle asciiAlternates)
Parameters
string
NonNullableUtf8StringHandletranslitLocale
NullableUtf8StringHandleTransfer ownership: None Nullable: True
asciiAlternates
Utf8StringArrayNullTerminatedOwnedHandleTransfer ownership: Full Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
Strcanon(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, sbyte)
Calls native function g_strcanon.
public static extern NonNullableUtf8StringOwnedHandle Strcanon(NonNullableUtf8StringHandle @string, NonNullableUtf8StringHandle validChars, sbyte substitutor)
Parameters
string
NonNullableUtf8StringHandlevalidChars
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
substitutor
sbyteTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strcasecmp(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_strcasecmp.
public static extern int Strcasecmp(NonNullableUtf8StringHandle s1, NonNullableUtf8StringHandle s2)
Parameters
s1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
s2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Strchomp(NonNullableUtf8StringHandle)
Calls native function g_strchomp.
public static extern NonNullableUtf8StringOwnedHandle Strchomp(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strchug(NonNullableUtf8StringHandle)
Calls native function g_strchug.
public static extern NonNullableUtf8StringOwnedHandle Strchug(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strcmp0(NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_strcmp0. Version: 2.16
[Version("2.16")]
public static extern int Strcmp0(NullableUtf8StringHandle str1, NullableUtf8StringHandle str2)
Parameters
str1
NullableUtf8StringHandleTransfer ownership: None Nullable: True
str2
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- int
Transfer ownership: None Nullable: False
Strcompress(NonNullableUtf8StringHandle)
Calls native function g_strcompress.
public static extern NonNullableUtf8StringOwnedHandle Strcompress(NonNullableUtf8StringHandle source)
Parameters
source
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strdelimit(NonNullableUtf8StringHandle, NullableUtf8StringHandle, sbyte)
Calls native function g_strdelimit.
public static extern NonNullableUtf8StringOwnedHandle Strdelimit(NonNullableUtf8StringHandle @string, NullableUtf8StringHandle delimiters, sbyte newDelimiter)
Parameters
string
NonNullableUtf8StringHandledelimiters
NullableUtf8StringHandleTransfer ownership: None Nullable: True
newDelimiter
sbyteTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strdown(NonNullableUtf8StringHandle)
Calls native function g_strdown.
public static extern NonNullableUtf8StringOwnedHandle Strdown(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strdup(NullableUtf8StringHandle)
Calls native function g_strdup.
public static extern NonNullableUtf8StringOwnedHandle Strdup(NullableUtf8StringHandle str)
Parameters
str
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
StrdupVprintf(NonNullableUtf8StringHandle, IntPtr)
Calls native function g_strdup_vprintf.
public static extern NullableUtf8StringOwnedHandle StrdupVprintf(NonNullableUtf8StringHandle format, IntPtr args)
Parameters
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Strdupv(Utf8StringArrayNullTerminatedHandle)
Calls native function g_strdupv.
public static extern Utf8StringArrayNullTerminatedOwnedHandle Strdupv(Utf8StringArrayNullTerminatedHandle strArray)
Parameters
strArray
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: True
Strerror(int)
Calls native function g_strerror.
public static extern NonNullableUtf8StringUnownedHandle Strerror(int errnum)
Parameters
errnum
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Strescape(NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_strescape.
public static extern NonNullableUtf8StringOwnedHandle Strescape(NonNullableUtf8StringHandle source, NullableUtf8StringHandle exceptions)
Parameters
source
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
exceptions
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strfreev(Utf8StringArrayNullTerminatedUnownedHandle)
Calls native function g_strfreev.
public static extern void Strfreev(Utf8StringArrayNullTerminatedUnownedHandle strArray)
Parameters
strArray
Utf8StringArrayNullTerminatedUnownedHandleTransfer ownership: Full Nullable: True
StripContext(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_strip_context. Version: 2.4
[Version("2.4")]
public static extern NonNullableUtf8StringUnownedHandle StripContext(NonNullableUtf8StringHandle msgid, NonNullableUtf8StringHandle msgval)
Parameters
msgid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
msgval
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Strjoinv(NullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)
Calls native function g_strjoinv.
public static extern NonNullableUtf8StringOwnedHandle Strjoinv(NullableUtf8StringHandle separator, Utf8StringArrayNullTerminatedHandle strArray)
Parameters
separator
NullableUtf8StringHandleTransfer ownership: None Nullable: True
strArray
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strlcat(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_strlcat.
public static extern nuint Strlcat(NonNullableUtf8StringHandle dest, NonNullableUtf8StringHandle src, nuint destSize)
Parameters
dest
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
src
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
destSize
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Strlcpy(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_strlcpy.
public static extern nuint Strlcpy(NonNullableUtf8StringHandle dest, NonNullableUtf8StringHandle src, nuint destSize)
Parameters
dest
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
src
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
destSize
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Strncasecmp(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, uint)
Calls native function g_strncasecmp.
public static extern int Strncasecmp(NonNullableUtf8StringHandle s1, NonNullableUtf8StringHandle s2, uint n)
Parameters
s1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
s2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
n
uintTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Strndup(NullableUtf8StringHandle, nuint)
Calls native function g_strndup.
public static extern NullableUtf8StringOwnedHandle Strndup(NullableUtf8StringHandle str, nuint n)
Parameters
str
NullableUtf8StringHandleTransfer ownership: None Nullable: True
n
nuintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Strnfill(nuint, sbyte)
Calls native function g_strnfill.
public static extern NonNullableUtf8StringOwnedHandle Strnfill(nuint length, sbyte fillChar)
Parameters
length
nuintTransfer ownership: None Nullable: False
fillChar
sbyteTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strreverse(NonNullableUtf8StringHandle)
Calls native function g_strreverse.
public static extern NonNullableUtf8StringOwnedHandle Strreverse(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strrstr(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_strrstr.
public static extern NonNullableUtf8StringOwnedHandle Strrstr(NonNullableUtf8StringHandle haystack, NonNullableUtf8StringHandle needle)
Parameters
haystack
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
needle
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
StrrstrLen(NonNullableUtf8StringHandle, long, NonNullableUtf8StringHandle)
Calls native function g_strrstr_len.
public static extern NonNullableUtf8StringOwnedHandle StrrstrLen(NonNullableUtf8StringHandle haystack, long haystackLen, NonNullableUtf8StringHandle needle)
Parameters
haystack
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
haystackLen
longTransfer ownership: None Nullable: False
needle
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strsignal(int)
Calls native function g_strsignal.
public static extern NonNullableUtf8StringUnownedHandle Strsignal(int signum)
Parameters
signum
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Strsplit(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int)
Calls native function g_strsplit.
public static extern Utf8StringArrayNullTerminatedOwnedHandle Strsplit(NonNullableUtf8StringHandle @string, NonNullableUtf8StringHandle delimiter, int maxTokens)
Parameters
string
NonNullableUtf8StringHandledelimiter
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
maxTokens
intTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
StrsplitSet(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int)
Calls native function g_strsplit_set. Version: 2.4
[Version("2.4")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle StrsplitSet(NonNullableUtf8StringHandle @string, NonNullableUtf8StringHandle delimiters, int maxTokens)
Parameters
string
NonNullableUtf8StringHandledelimiters
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
maxTokens
intTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
StrstrLen(NonNullableUtf8StringHandle, long, NonNullableUtf8StringHandle)
Calls native function g_strstr_len.
public static extern NonNullableUtf8StringOwnedHandle StrstrLen(NonNullableUtf8StringHandle haystack, long haystackLen, NonNullableUtf8StringHandle needle)
Parameters
haystack
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
haystackLen
longTransfer ownership: None Nullable: False
needle
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Strtod(NonNullableUtf8StringHandle, out NonNullableUtf8StringUnownedHandle)
Calls native function g_strtod.
public static extern double Strtod(NonNullableUtf8StringHandle nptr, out NonNullableUtf8StringUnownedHandle endptr)
Parameters
nptr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
endptr
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
Strup(NonNullableUtf8StringHandle)
Calls native function g_strup.
public static extern NonNullableUtf8StringOwnedHandle Strup(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
StrvContains(Utf8StringArrayNullTerminatedHandle, NonNullableUtf8StringHandle)
Calls native function g_strv_contains. Version: 2.44
[Version("2.44")]
public static extern bool StrvContains(Utf8StringArrayNullTerminatedHandle strv, NonNullableUtf8StringHandle str)
Parameters
strv
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrvEqual(Utf8StringArrayNullTerminatedHandle, Utf8StringArrayNullTerminatedHandle)
Calls native function g_strv_equal. Version: 2.60
[Version("2.60")]
public static extern bool StrvEqual(Utf8StringArrayNullTerminatedHandle strv1, Utf8StringArrayNullTerminatedHandle strv2)
Parameters
strv1
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
strv2
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
StrvGetType()
Calls native function g_strv_get_type.
public static extern nuint StrvGetType()
Returns
- nuint
Transfer ownership: None Nullable: False
StrvLength(Utf8StringArrayNullTerminatedHandle)
Calls native function g_strv_length. Version: 2.6
[Version("2.6")]
public static extern uint StrvLength(Utf8StringArrayNullTerminatedHandle strArray)
Parameters
strArray
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
TestAddDataFunc(NonNullableUtf8StringHandle, IntPtr, TestDataFunc)
Calls native function g_test_add_data_func. Version: 2.16
[Version("2.16")]
public static extern void TestAddDataFunc(NonNullableUtf8StringHandle testpath, IntPtr testData, TestDataFunc testFunc)
Parameters
testpath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
testData
IntPtrTransfer ownership: None Nullable: True
testFunc
TestDataFuncTransfer ownership: None Nullable: False
TestAddDataFuncFull(NonNullableUtf8StringHandle, IntPtr, TestDataFunc, DestroyNotify)
Calls native function g_test_add_data_func_full. Version: 2.34
[Version("2.34")]
public static extern void TestAddDataFuncFull(NonNullableUtf8StringHandle testpath, IntPtr testData, TestDataFunc testFunc, DestroyNotify dataFreeFunc)
Parameters
testpath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
testData
IntPtrTransfer ownership: None Nullable: True
testFunc
TestDataFuncTransfer ownership: None Nullable: False
dataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: False
TestAddFunc(NonNullableUtf8StringHandle, TestFunc)
Calls native function g_test_add_func. Version: 2.16
[Version("2.16")]
public static extern void TestAddFunc(NonNullableUtf8StringHandle testpath, TestFunc testFunc)
Parameters
testpath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
testFunc
TestFuncTransfer ownership: None Nullable: False
TestAddVtable(NonNullableUtf8StringHandle, nuint, IntPtr, TestFixtureFunc, TestFixtureFunc, TestFixtureFunc)
Calls native function g_test_add_vtable.
public static extern void TestAddVtable(NonNullableUtf8StringHandle testpath, nuint dataSize, IntPtr testData, TestFixtureFunc dataSetup, TestFixtureFunc dataTest, TestFixtureFunc dataTeardown)
Parameters
testpath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
dataSize
nuintTransfer ownership: None Nullable: False
testData
IntPtrTransfer ownership: None Nullable: True
dataSetup
TestFixtureFuncTransfer ownership: None Nullable: False
dataTest
TestFixtureFuncTransfer ownership: None Nullable: False
dataTeardown
TestFixtureFuncTransfer ownership: None Nullable: False
TestAssertExpectedMessagesInternal(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle)
Calls native function g_test_assert_expected_messages_internal.
public static extern void TestAssertExpectedMessagesInternal(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestBug(NonNullableUtf8StringHandle)
Calls native function g_test_bug. Version: 2.16
[Version("2.16")]
public static extern void TestBug(NonNullableUtf8StringHandle bugUriSnippet)
Parameters
bugUriSnippet
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestBugBase(NonNullableUtf8StringHandle)
Calls native function g_test_bug_base. Version: 2.16
[Version("2.16")]
public static extern void TestBugBase(NonNullableUtf8StringHandle uriPattern)
Parameters
uriPattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestCreateCase(NonNullableUtf8StringHandle, nuint, IntPtr, TestFixtureFunc, TestFixtureFunc, TestFixtureFunc)
Calls native function g_test_create_case. Version: 2.16
[Version("2.16")]
public static extern TestCaseUnownedHandle TestCreateCase(NonNullableUtf8StringHandle testName, nuint dataSize, IntPtr testData, TestFixtureFunc dataSetup, TestFixtureFunc dataTest, TestFixtureFunc dataTeardown)
Parameters
testName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
dataSize
nuintTransfer ownership: None Nullable: False
testData
IntPtrTransfer ownership: None Nullable: True
dataSetup
TestFixtureFuncTransfer ownership: None Nullable: False
dataTest
TestFixtureFuncTransfer ownership: None Nullable: False
dataTeardown
TestFixtureFuncTransfer ownership: None Nullable: False
Returns
- TestCaseUnownedHandle
Transfer ownership: None Nullable: False
TestCreateSuite(NonNullableUtf8StringHandle)
Calls native function g_test_create_suite. Version: 2.16
[Version("2.16")]
public static extern TestSuiteUnownedHandle TestCreateSuite(NonNullableUtf8StringHandle suiteName)
Parameters
suiteName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- TestSuiteUnownedHandle
Transfer ownership: None Nullable: False
TestDisableCrashReporting()
Calls native function g_test_disable_crash_reporting. Version: 2.78
[Version("2.78")]
public static extern void TestDisableCrashReporting()
TestExpectMessage(NullableUtf8StringHandle, LogLevelFlags, NonNullableUtf8StringHandle)
Calls native function g_test_expect_message. Version: 2.34
[Version("2.34")]
public static extern void TestExpectMessage(NullableUtf8StringHandle logDomain, LogLevelFlags logLevel, NonNullableUtf8StringHandle pattern)
Parameters
logDomain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
logLevel
LogLevelFlagsTransfer ownership: None Nullable: False
pattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestFail()
Calls native function g_test_fail. Version: 2.30
[Version("2.30")]
public static extern void TestFail()
TestFailed()
Calls native function g_test_failed. Version: 2.38
[Version("2.38")]
public static extern bool TestFailed()
Returns
- bool
Transfer ownership: None Nullable: False
TestGetDir(TestFileType)
Calls native function g_test_get_dir. Version: 2.38
[Version("2.38")]
public static extern NonNullablePlatformStringUnownedHandle TestGetDir(TestFileType fileType)
Parameters
fileType
TestFileTypeTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
TestGetPath()
Calls native function g_test_get_path. Version: 2.68
[Version("2.68")]
public static extern NonNullableUtf8StringUnownedHandle TestGetPath()
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
TestGetRoot()
Calls native function g_test_get_root. Version: 2.16
[Version("2.16")]
public static extern TestSuiteUnownedHandle TestGetRoot()
Returns
- TestSuiteUnownedHandle
Transfer ownership: None Nullable: False
TestIncomplete(NullableUtf8StringHandle)
Calls native function g_test_incomplete. Version: 2.38
[Version("2.38")]
public static extern void TestIncomplete(NullableUtf8StringHandle msg)
Parameters
msg
NullableUtf8StringHandleTransfer ownership: None Nullable: True
TestLogSetFatalHandler(TestLogFatalFunc, IntPtr)
Calls native function g_test_log_set_fatal_handler. Version: 2.22
[Version("2.22")]
public static extern void TestLogSetFatalHandler(TestLogFatalFunc logFunc, IntPtr userData)
Parameters
logFunc
TestLogFatalFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
TestLogTypeName(TestLogType)
Calls native function g_test_log_type_name.
public static extern NonNullableUtf8StringUnownedHandle TestLogTypeName(TestLogType logType)
Parameters
logType
TestLogTypeTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
TestQueueDestroy(DestroyNotify, IntPtr)
Calls native function g_test_queue_destroy. Version: 2.16
[Version("2.16")]
public static extern void TestQueueDestroy(DestroyNotify destroyFunc, IntPtr destroyData)
Parameters
destroyFunc
DestroyNotifyTransfer ownership: None Nullable: False
destroyData
IntPtrTransfer ownership: None Nullable: True
TestQueueFree(IntPtr)
Calls native function g_test_queue_free. Version: 2.16
[Version("2.16")]
public static extern void TestQueueFree(IntPtr gfreePointer)
Parameters
gfreePointer
IntPtrTransfer ownership: None Nullable: True
TestRandDouble()
Calls native function g_test_rand_double. Version: 2.16
[Version("2.16")]
public static extern double TestRandDouble()
Returns
- double
Transfer ownership: None Nullable: False
TestRandDoubleRange(double, double)
Calls native function g_test_rand_double_range. Version: 2.16
[Version("2.16")]
public static extern double TestRandDoubleRange(double rangeStart, double rangeEnd)
Parameters
rangeStart
doubleTransfer ownership: None Nullable: False
rangeEnd
doubleTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
TestRandInt()
Calls native function g_test_rand_int. Version: 2.16
[Version("2.16")]
public static extern int TestRandInt()
Returns
- int
Transfer ownership: None Nullable: False
TestRandIntRange(int, int)
Calls native function g_test_rand_int_range. Version: 2.16
[Version("2.16")]
public static extern int TestRandIntRange(int begin, int end)
Parameters
Returns
- int
Transfer ownership: None Nullable: False
TestRun()
Calls native function g_test_run. Version: 2.16
[Version("2.16")]
public static extern int TestRun()
Returns
- int
Transfer ownership: None Nullable: False
TestRunSuite(TestSuiteHandle)
Calls native function g_test_run_suite. Version: 2.16
[Version("2.16")]
public static extern int TestRunSuite(TestSuiteHandle suite)
Parameters
suite
TestSuiteHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
TestSetNonfatalAssertions()
Calls native function g_test_set_nonfatal_assertions. Version: 2.38
[Version("2.38")]
public static extern void TestSetNonfatalAssertions()
TestSkip(NullableUtf8StringHandle)
Calls native function g_test_skip. Version: 2.38
[Version("2.38")]
public static extern void TestSkip(NullableUtf8StringHandle msg)
Parameters
msg
NullableUtf8StringHandleTransfer ownership: None Nullable: True
TestSubprocess()
Calls native function g_test_subprocess. Version: 2.38
[Version("2.38")]
public static extern bool TestSubprocess()
Returns
- bool
Transfer ownership: None Nullable: False
TestSummary(NonNullableUtf8StringHandle)
Calls native function g_test_summary. Version: 2.62
[Version("2.62")]
public static extern void TestSummary(NonNullableUtf8StringHandle summary)
Parameters
summary
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestTimerElapsed()
Calls native function g_test_timer_elapsed. Version: 2.16
[Version("2.16")]
public static extern double TestTimerElapsed()
Returns
- double
Transfer ownership: None Nullable: False
TestTimerLast()
Calls native function g_test_timer_last. Version: 2.16
[Version("2.16")]
public static extern double TestTimerLast()
Returns
- double
Transfer ownership: None Nullable: False
TestTimerStart()
Calls native function g_test_timer_start. Version: 2.16
[Version("2.16")]
public static extern void TestTimerStart()
TestTrapAssertions(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, ulong, NonNullableUtf8StringHandle)
Calls native function g_test_trap_assertions.
public static extern void TestTrapAssertions(NonNullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, ulong assertionFlags, NonNullableUtf8StringHandle pattern)
Parameters
domain
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
assertionFlags
ulongTransfer ownership: None Nullable: False
pattern
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TestTrapFork(ulong, TestTrapFlags)
Calls native function g_test_trap_fork. Version: 2.16
[Version("2.16")]
public static extern bool TestTrapFork(ulong usecTimeout, TestTrapFlags testTrapFlags)
Parameters
usecTimeout
ulongTransfer ownership: None Nullable: False
testTrapFlags
TestTrapFlagsTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
TestTrapHasPassed()
Calls native function g_test_trap_has_passed. Version: 2.16
[Version("2.16")]
public static extern bool TestTrapHasPassed()
Returns
- bool
Transfer ownership: None Nullable: False
TestTrapReachedTimeout()
Calls native function g_test_trap_reached_timeout. Version: 2.16
[Version("2.16")]
public static extern bool TestTrapReachedTimeout()
Returns
- bool
Transfer ownership: None Nullable: False
TestTrapSubprocess(NullableUtf8StringHandle, ulong, TestSubprocessFlags)
Calls native function g_test_trap_subprocess. Version: 2.38
[Version("2.38")]
public static extern void TestTrapSubprocess(NullableUtf8StringHandle testPath, ulong usecTimeout, TestSubprocessFlags testFlags)
Parameters
testPath
NullableUtf8StringHandleTransfer ownership: None Nullable: True
usecTimeout
ulongTransfer ownership: None Nullable: False
testFlags
TestSubprocessFlagsTransfer ownership: None Nullable: False
TestTrapSubprocessWithEnvp(NullableUtf8StringHandle, PlatformStringArrayNullTerminatedHandle, ulong, TestSubprocessFlags)
Calls native function g_test_trap_subprocess_with_envp. Version: 2.80
[Version("2.80")]
public static extern void TestTrapSubprocessWithEnvp(NullableUtf8StringHandle testPath, PlatformStringArrayNullTerminatedHandle envp, ulong usecTimeout, TestSubprocessFlags testFlags)
Parameters
testPath
NullableUtf8StringHandleTransfer ownership: None Nullable: True
envp
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
usecTimeout
ulongTransfer ownership: None Nullable: False
testFlags
TestSubprocessFlagsTransfer ownership: None Nullable: False
ThreadCreate(ThreadFunc, IntPtr, bool, out ErrorOwnedHandle)
Calls native function g_thread_create.
public static extern ThreadOwnedHandle ThreadCreate(ThreadFunc func, IntPtr data, bool joinable, out ErrorOwnedHandle error)
Parameters
func
ThreadFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
joinable
boolTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- ThreadOwnedHandle
Transfer ownership: Full Nullable: False
ThreadCreateFull(ThreadFunc, IntPtr, ulong, bool, bool, ThreadPriority, out ErrorOwnedHandle)
Calls native function g_thread_create_full.
public static extern ThreadOwnedHandle ThreadCreateFull(ThreadFunc func, IntPtr data, ulong stackSize, bool joinable, bool bound, ThreadPriority priority, out ErrorOwnedHandle error)
Parameters
func
ThreadFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
stackSize
ulongTransfer ownership: None Nullable: False
joinable
boolTransfer ownership: None Nullable: False
bound
boolTransfer ownership: None Nullable: False
priority
ThreadPriorityTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- ThreadOwnedHandle
Transfer ownership: Full Nullable: False
ThreadErrorQuark()
Calls native function g_thread_error_quark.
public static extern uint ThreadErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ThreadExit(IntPtr)
Calls native function g_thread_exit.
public static extern void ThreadExit(IntPtr retval)
Parameters
retval
IntPtrTransfer ownership: None Nullable: True
ThreadForeach(Func, IntPtr)
Calls native function g_thread_foreach. Version: 2.10
[Version("2.10")]
public static extern void ThreadForeach(Func threadFunc, IntPtr userData)
Parameters
threadFunc
FuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
ThreadGetInitialized()
Calls native function g_thread_get_initialized. Version: 2.20
[Version("2.20")]
public static extern bool ThreadGetInitialized()
Returns
- bool
Transfer ownership: None Nullable: False
ThreadInit(IntPtr)
Calls native function g_thread_init.
public static extern void ThreadInit(IntPtr vtable)
Parameters
vtable
IntPtrTransfer ownership: None Nullable: True
ThreadInitWithErrorcheckMutexes(IntPtr)
Calls native function g_thread_init_with_errorcheck_mutexes.
public static extern void ThreadInitWithErrorcheckMutexes(IntPtr vtable)
Parameters
vtable
IntPtrTransfer ownership: None Nullable: True
ThreadPoolGetMaxIdleTime()
Calls native function g_thread_pool_get_max_idle_time. Version: 2.10
[Version("2.10")]
public static extern uint ThreadPoolGetMaxIdleTime()
Returns
- uint
Transfer ownership: None Nullable: False
ThreadPoolGetMaxUnusedThreads()
Calls native function g_thread_pool_get_max_unused_threads.
public static extern int ThreadPoolGetMaxUnusedThreads()
Returns
- int
Transfer ownership: None Nullable: False
ThreadPoolGetNumUnusedThreads()
Calls native function g_thread_pool_get_num_unused_threads.
public static extern uint ThreadPoolGetNumUnusedThreads()
Returns
- uint
Transfer ownership: None Nullable: False
ThreadPoolSetMaxIdleTime(uint)
Calls native function g_thread_pool_set_max_idle_time. Version: 2.10
[Version("2.10")]
public static extern void ThreadPoolSetMaxIdleTime(uint interval)
Parameters
interval
uintTransfer ownership: None Nullable: False
ThreadPoolSetMaxUnusedThreads(int)
Calls native function g_thread_pool_set_max_unused_threads.
public static extern void ThreadPoolSetMaxUnusedThreads(int maxThreads)
Parameters
maxThreads
intTransfer ownership: None Nullable: False
ThreadPoolStopUnusedThreads()
Calls native function g_thread_pool_stop_unused_threads.
public static extern void ThreadPoolStopUnusedThreads()
ThreadSelf()
Calls native function g_thread_self.
public static extern ThreadUnownedHandle ThreadSelf()
Returns
- ThreadUnownedHandle
Transfer ownership: None Nullable: False
ThreadYield()
Calls native function g_thread_yield.
public static extern void ThreadYield()
TimeValFromIso8601(NonNullableUtf8StringHandle, TimeValOwnedHandle)
Calls native function g_time_val_from_iso8601. Version: 2.12
[Version("2.12")]
public static extern bool TimeValFromIso8601(NonNullableUtf8StringHandle isoDate, TimeValOwnedHandle time)
Parameters
isoDate
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
time
TimeValOwnedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
TimeoutAdd(int, uint, SourceFunc, IntPtr, DestroyNotify)
Calls native function g_timeout_add_full.
public static extern uint TimeoutAdd(int priority, uint interval, SourceFunc function, IntPtr data, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
interval
uintTransfer ownership: None Nullable: False
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutAdd(uint, SourceFunc, IntPtr)
Calls native function g_timeout_add.
public static extern uint TimeoutAdd(uint interval, SourceFunc function, IntPtr data)
Parameters
interval
uintTransfer ownership: None Nullable: False
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutAddOnce(uint, SourceOnceFunc, IntPtr)
Calls native function g_timeout_add_once. Version: 2.74
[Version("2.74")]
public static extern uint TimeoutAddOnce(uint interval, SourceOnceFunc function, IntPtr data)
Parameters
interval
uintTransfer ownership: None Nullable: False
function
SourceOnceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutAddSeconds(int, uint, SourceFunc, IntPtr, DestroyNotify)
Calls native function g_timeout_add_seconds_full. Version: 2.14
[Version("2.14")]
public static extern uint TimeoutAddSeconds(int priority, uint interval, SourceFunc function, IntPtr data, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
interval
uintTransfer ownership: None Nullable: False
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutAddSeconds(uint, SourceFunc, IntPtr)
Calls native function g_timeout_add_seconds. Version: 2.14
[Version("2.14")]
public static extern uint TimeoutAddSeconds(uint interval, SourceFunc function, IntPtr data)
Parameters
interval
uintTransfer ownership: None Nullable: False
function
SourceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutAddSecondsOnce(uint, SourceOnceFunc, IntPtr)
Calls native function g_timeout_add_seconds_once. Version: 2.78
[Version("2.78")]
public static extern uint TimeoutAddSecondsOnce(uint interval, SourceOnceFunc function, IntPtr data)
Parameters
interval
uintTransfer ownership: None Nullable: False
function
SourceOnceFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
TimeoutSourceNew(uint)
Calls native function g_timeout_source_new.
public static extern SourceOwnedHandle TimeoutSourceNew(uint interval)
Parameters
interval
uintTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
TimeoutSourceNewSeconds(uint)
Calls native function g_timeout_source_new_seconds. Version: 2.14
[Version("2.14")]
public static extern SourceOwnedHandle TimeoutSourceNewSeconds(uint interval)
Parameters
interval
uintTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
TrashStackHeight(TrashStackHandle)
Calls native function g_trash_stack_height.
public static extern uint TrashStackHeight(TrashStackHandle stackP)
Parameters
stackP
TrashStackHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
TrashStackPeek(TrashStackHandle)
Calls native function g_trash_stack_peek.
public static extern IntPtr TrashStackPeek(TrashStackHandle stackP)
Parameters
stackP
TrashStackHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TrashStackPop(TrashStackHandle)
Calls native function g_trash_stack_pop.
public static extern IntPtr TrashStackPop(TrashStackHandle stackP)
Parameters
stackP
TrashStackHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TrashStackPush(TrashStackHandle, IntPtr)
Calls native function g_trash_stack_push.
public static extern void TrashStackPush(TrashStackHandle stackP, IntPtr dataP)
Parameters
stackP
TrashStackHandleTransfer ownership: None Nullable: False
dataP
IntPtrTransfer ownership: None Nullable: False
TryMalloc(nuint)
Calls native function g_try_malloc.
public static extern IntPtr TryMalloc(nuint nBytes)
Parameters
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TryMalloc0(nuint)
Calls native function g_try_malloc0. Version: 2.8
[Version("2.8")]
public static extern IntPtr TryMalloc0(nuint nBytes)
Parameters
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TryMalloc0N(nuint, nuint)
Calls native function g_try_malloc0_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr TryMalloc0N(nuint nBlocks, nuint nBlockBytes)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TryMallocN(nuint, nuint)
Calls native function g_try_malloc_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr TryMallocN(nuint nBlocks, nuint nBlockBytes)
Parameters
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TryRealloc(IntPtr, nuint)
Calls native function g_try_realloc.
public static extern IntPtr TryRealloc(IntPtr mem, nuint nBytes)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
nBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
TryReallocN(IntPtr, nuint, nuint)
Calls native function g_try_realloc_n. Version: 2.24
[Version("2.24")]
public static extern IntPtr TryReallocN(IntPtr mem, nuint nBlocks, nuint nBlockBytes)
Parameters
mem
IntPtrTransfer ownership: None Nullable: True
nBlocks
nuintTransfer ownership: None Nullable: False
nBlockBytes
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
Ucs4ToUtf16(ref uint, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_ucs4_to_utf16.
public static extern IntPtr Ucs4ToUtf16(ref uint str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
uintTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Ucs4ToUtf8(ref uint, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_ucs4_to_utf8.
public static extern NonNullableUtf8StringOwnedHandle Ucs4ToUtf8(ref uint str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
uintTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UnicharBreakType(uint)
Calls native function g_unichar_break_type.
public static extern UnicodeBreakType UnicharBreakType(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- UnicodeBreakType
Transfer ownership: None Nullable: False
UnicharCombiningClass(uint)
Calls native function g_unichar_combining_class. Version: 2.14
[Version("2.14")]
public static extern int UnicharCombiningClass(uint uc)
Parameters
uc
uintTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
UnicharCompose(uint, uint, out uint)
Calls native function g_unichar_compose. Version: 2.30
[Version("2.30")]
public static extern bool UnicharCompose(uint a, uint b, out uint ch)
Parameters
a
uintTransfer ownership: None Nullable: False
b
uintTransfer ownership: None Nullable: False
ch
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharDecompose(uint, out uint, out uint)
Calls native function g_unichar_decompose. Version: 2.30
[Version("2.30")]
public static extern bool UnicharDecompose(uint ch, out uint a, out uint b)
Parameters
ch
uintTransfer ownership: None Nullable: False
a
uintTransfer ownership: Full Nullable: False
b
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharDigitValue(uint)
Calls native function g_unichar_digit_value.
public static extern int UnicharDigitValue(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
UnicharFullyDecompose(uint, bool, out uint, nuint)
Calls native function g_unichar_fully_decompose. Version: 2.30
[Version("2.30")]
public static extern nuint UnicharFullyDecompose(uint ch, bool compat, out uint result, nuint resultLen)
Parameters
ch
uintTransfer ownership: None Nullable: False
compat
boolTransfer ownership: None Nullable: False
result
uintTransfer ownership: None Nullable: False
resultLen
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
UnicharGetMirrorChar(uint, out uint)
Calls native function g_unichar_get_mirror_char. Version: 2.4
[Version("2.4")]
public static extern bool UnicharGetMirrorChar(uint ch, out uint mirroredCh)
Parameters
ch
uintTransfer ownership: None Nullable: False
mirroredCh
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharGetScript(uint)
Calls native function g_unichar_get_script. Version: 2.14
[Version("2.14")]
public static extern UnicodeScript UnicharGetScript(uint ch)
Parameters
ch
uintTransfer ownership: None Nullable: False
Returns
- UnicodeScript
Transfer ownership: None Nullable: False
UnicharIsalnum(uint)
Calls native function g_unichar_isalnum.
public static extern bool UnicharIsalnum(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsalpha(uint)
Calls native function g_unichar_isalpha.
public static extern bool UnicharIsalpha(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIscntrl(uint)
Calls native function g_unichar_iscntrl.
public static extern bool UnicharIscntrl(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsdefined(uint)
Calls native function g_unichar_isdefined.
public static extern bool UnicharIsdefined(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsdigit(uint)
Calls native function g_unichar_isdigit.
public static extern bool UnicharIsdigit(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsgraph(uint)
Calls native function g_unichar_isgraph.
public static extern bool UnicharIsgraph(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIslower(uint)
Calls native function g_unichar_islower.
public static extern bool UnicharIslower(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsmark(uint)
Calls native function g_unichar_ismark. Version: 2.14
[Version("2.14")]
public static extern bool UnicharIsmark(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsprint(uint)
Calls native function g_unichar_isprint.
public static extern bool UnicharIsprint(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIspunct(uint)
Calls native function g_unichar_ispunct.
public static extern bool UnicharIspunct(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsspace(uint)
Calls native function g_unichar_isspace.
public static extern bool UnicharIsspace(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIstitle(uint)
Calls native function g_unichar_istitle.
public static extern bool UnicharIstitle(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsupper(uint)
Calls native function g_unichar_isupper.
public static extern bool UnicharIsupper(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIswide(uint)
Calls native function g_unichar_iswide.
public static extern bool UnicharIswide(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIswideCjk(uint)
Calls native function g_unichar_iswide_cjk. Version: 2.12
[Version("2.12")]
public static extern bool UnicharIswideCjk(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIsxdigit(uint)
Calls native function g_unichar_isxdigit.
public static extern bool UnicharIsxdigit(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharIszerowidth(uint)
Calls native function g_unichar_iszerowidth. Version: 2.14
[Version("2.14")]
public static extern bool UnicharIszerowidth(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharToUtf8(uint, ref NonNullableUtf8StringUnownedHandle)
Calls native function g_unichar_to_utf8.
public static extern int UnicharToUtf8(uint c, ref NonNullableUtf8StringUnownedHandle outbuf)
Parameters
c
uintTransfer ownership: None Nullable: False
outbuf
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
UnicharTolower(uint)
Calls native function g_unichar_tolower.
public static extern uint UnicharTolower(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnicharTotitle(uint)
Calls native function g_unichar_totitle.
public static extern uint UnicharTotitle(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnicharToupper(uint)
Calls native function g_unichar_toupper.
public static extern uint UnicharToupper(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnicharType(uint)
Calls native function g_unichar_type.
public static extern UnicodeType UnicharType(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- UnicodeType
Transfer ownership: None Nullable: False
UnicharValidate(uint)
Calls native function g_unichar_validate.
public static extern bool UnicharValidate(uint ch)
Parameters
ch
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnicharXdigitValue(uint)
Calls native function g_unichar_xdigit_value.
public static extern int UnicharXdigitValue(uint c)
Parameters
c
uintTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
UnicodeCanonicalDecomposition(uint, ref nuint)
Calls native function g_unicode_canonical_decomposition.
public static extern IntPtr UnicodeCanonicalDecomposition(uint ch, ref nuint resultLen)
Parameters
ch
uintTransfer ownership: None Nullable: False
resultLen
nuintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
UnicodeCanonicalOrdering(ref uint, nuint)
Calls native function g_unicode_canonical_ordering.
public static extern void UnicodeCanonicalOrdering(ref uint @string, nuint len)
Parameters
UnicodeScriptFromIso15924(uint)
Calls native function g_unicode_script_from_iso15924. Version: 2.30
[Version("2.30")]
public static extern UnicodeScript UnicodeScriptFromIso15924(uint iso15924)
Parameters
iso15924
uintTransfer ownership: None Nullable: False
Returns
- UnicodeScript
Transfer ownership: None Nullable: False
UnicodeScriptToIso15924(UnicodeScript)
Calls native function g_unicode_script_to_iso15924. Version: 2.30
[Version("2.30")]
public static extern uint UnicodeScriptToIso15924(UnicodeScript script)
Parameters
script
UnicodeScriptTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnixErrorQuark()
Calls native function g_unix_error_quark.
public static extern uint UnixErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
UnixFdAdd(int, IOCondition, UnixFDSourceFunc, IntPtr)
Calls native function g_unix_fd_add. Version: 2.36
[Version("2.36")]
public static extern uint UnixFdAdd(int fd, IOCondition condition, UnixFDSourceFunc function, IntPtr userData)
Parameters
fd
intTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
function
UnixFDSourceFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
UnixFdAddFull(int, int, IOCondition, UnixFDSourceFunc, IntPtr, DestroyNotify)
Calls native function g_unix_fd_add_full. Version: 2.36
[Version("2.36")]
public static extern uint UnixFdAddFull(int priority, int fd, IOCondition condition, UnixFDSourceFunc function, IntPtr userData, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
fd
intTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
function
UnixFDSourceFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnixFdSourceNew(int, IOCondition)
Calls native function g_unix_fd_source_new. Version: 2.36
[Version("2.36")]
public static extern SourceOwnedHandle UnixFdSourceNew(int fd, IOCondition condition)
Parameters
fd
intTransfer ownership: None Nullable: False
condition
IOConditionTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
UnixOpenPipe(ref int, int, out ErrorOwnedHandle)
Calls native function g_unix_open_pipe. Version: 2.30
[Version("2.30")]
public static extern bool UnixOpenPipe(ref int fds, int flags, out ErrorOwnedHandle error)
Parameters
fds
intTransfer ownership: None Nullable: False
flags
intTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UnixSetFdNonblocking(int, bool, out ErrorOwnedHandle)
Calls native function g_unix_set_fd_nonblocking. Version: 2.30
[Version("2.30")]
public static extern bool UnixSetFdNonblocking(int fd, bool nonblock, out ErrorOwnedHandle error)
Parameters
fd
intTransfer ownership: None Nullable: False
nonblock
boolTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UnixSignalAdd(int, SourceFunc, IntPtr)
Calls native function g_unix_signal_add. Version: 2.30
[Version("2.30")]
public static extern uint UnixSignalAdd(int signum, SourceFunc handler, IntPtr userData)
Parameters
signum
intTransfer ownership: None Nullable: False
handler
SourceFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
UnixSignalAdd(int, int, SourceFunc, IntPtr, DestroyNotify)
Calls native function g_unix_signal_add_full. Version: 2.30
[Version("2.30")]
public static extern uint UnixSignalAdd(int priority, int signum, SourceFunc handler, IntPtr userData, DestroyNotify notify)
Parameters
priority
intTransfer ownership: None Nullable: False
signum
intTransfer ownership: None Nullable: False
handler
SourceFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
UnixSignalSourceNew(int)
Calls native function g_unix_signal_source_new. Version: 2.30
[Version("2.30")]
public static extern SourceOwnedHandle UnixSignalSourceNew(int signum)
Parameters
signum
intTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
Unlink(NonNullablePlatformStringHandle)
Calls native function g_unlink. Version: 2.6
[Version("2.6")]
public static extern int Unlink(NonNullablePlatformStringHandle filename)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Unsetenv(NonNullablePlatformStringHandle)
Calls native function g_unsetenv. Version: 2.4
[Version("2.4")]
public static extern void Unsetenv(NonNullablePlatformStringHandle variable)
Parameters
variable
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
UriBuild(UriFlags, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_build. Version: 2.66
[Version("2.66")]
public static extern UriOwnedHandle UriBuild(UriFlags flags, NonNullableUtf8StringHandle scheme, NullableUtf8StringHandle userinfo, NullableUtf8StringHandle host, int port, NonNullableUtf8StringHandle path, NullableUtf8StringHandle query, NullableUtf8StringHandle fragment)
Parameters
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
userinfo
NullableUtf8StringHandleTransfer ownership: None Nullable: True
host
NullableUtf8StringHandleTransfer ownership: None Nullable: True
port
intTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
query
NullableUtf8StringHandleTransfer ownership: None Nullable: True
fragment
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- UriOwnedHandle
Transfer ownership: Full Nullable: False
UriBuildWithUser(UriFlags, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_build_with_user. Version: 2.66
[Version("2.66")]
public static extern UriOwnedHandle UriBuildWithUser(UriFlags flags, NonNullableUtf8StringHandle scheme, NullableUtf8StringHandle user, NullableUtf8StringHandle password, NullableUtf8StringHandle authParams, NullableUtf8StringHandle host, int port, NonNullableUtf8StringHandle path, NullableUtf8StringHandle query, NullableUtf8StringHandle fragment)
Parameters
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
user
NullableUtf8StringHandleTransfer ownership: None Nullable: True
password
NullableUtf8StringHandleTransfer ownership: None Nullable: True
authParams
NullableUtf8StringHandleTransfer ownership: None Nullable: True
host
NullableUtf8StringHandleTransfer ownership: None Nullable: True
port
intTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
query
NullableUtf8StringHandleTransfer ownership: None Nullable: True
fragment
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- UriOwnedHandle
Transfer ownership: Full Nullable: False
UriErrorQuark()
Calls native function g_uri_error_quark.
public static extern uint UriErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
UriEscapeBytes(ref byte, nuint, NullableUtf8StringHandle)
Calls native function g_uri_escape_bytes. Version: 2.66
[Version("2.66")]
public static extern NonNullableUtf8StringOwnedHandle UriEscapeBytes(ref byte unescaped, nuint length, NullableUtf8StringHandle reservedCharsAllowed)
Parameters
unescaped
byteTransfer ownership: None Nullable: False
length
nuintTransfer ownership: None Nullable: False
reservedCharsAllowed
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UriEscapeString(NonNullableUtf8StringHandle, NullableUtf8StringHandle, bool)
Calls native function g_uri_escape_string. Version: 2.16
[Version("2.16")]
public static extern NonNullableUtf8StringOwnedHandle UriEscapeString(NonNullableUtf8StringHandle unescaped, NullableUtf8StringHandle reservedCharsAllowed, bool allowUtf8)
Parameters
unescaped
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
reservedCharsAllowed
NullableUtf8StringHandleTransfer ownership: None Nullable: True
allowUtf8
boolTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UriIsValid(NonNullableUtf8StringHandle, UriFlags, out ErrorOwnedHandle)
Calls native function g_uri_is_valid. Version: 2.66
[Version("2.66")]
public static extern bool UriIsValid(NonNullableUtf8StringHandle uriString, UriFlags flags, out ErrorOwnedHandle error)
Parameters
uriString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UriJoin(UriFlags, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_join. Version: 2.66
[Version("2.66")]
public static extern NonNullableUtf8StringOwnedHandle UriJoin(UriFlags flags, NullableUtf8StringHandle scheme, NullableUtf8StringHandle userinfo, NullableUtf8StringHandle host, int port, NonNullableUtf8StringHandle path, NullableUtf8StringHandle query, NullableUtf8StringHandle fragment)
Parameters
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NullableUtf8StringHandleTransfer ownership: None Nullable: True
userinfo
NullableUtf8StringHandleTransfer ownership: None Nullable: True
host
NullableUtf8StringHandleTransfer ownership: None Nullable: True
port
intTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
query
NullableUtf8StringHandleTransfer ownership: None Nullable: True
fragment
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UriJoinWithUser(UriFlags, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_join_with_user. Version: 2.66
[Version("2.66")]
public static extern NonNullableUtf8StringOwnedHandle UriJoinWithUser(UriFlags flags, NullableUtf8StringHandle scheme, NullableUtf8StringHandle user, NullableUtf8StringHandle password, NullableUtf8StringHandle authParams, NullableUtf8StringHandle host, int port, NonNullableUtf8StringHandle path, NullableUtf8StringHandle query, NullableUtf8StringHandle fragment)
Parameters
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NullableUtf8StringHandleTransfer ownership: None Nullable: True
user
NullableUtf8StringHandleTransfer ownership: None Nullable: True
password
NullableUtf8StringHandleTransfer ownership: None Nullable: True
authParams
NullableUtf8StringHandleTransfer ownership: None Nullable: True
host
NullableUtf8StringHandleTransfer ownership: None Nullable: True
port
intTransfer ownership: None Nullable: False
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
query
NullableUtf8StringHandleTransfer ownership: None Nullable: True
fragment
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UriListExtractUris(NonNullableUtf8StringHandle)
Calls native function g_uri_list_extract_uris. Version: 2.6
[Version("2.6")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle UriListExtractUris(NonNullableUtf8StringHandle uriList)
Parameters
uriList
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
UriParse(NonNullableUtf8StringHandle, UriFlags, out ErrorOwnedHandle)
Calls native function g_uri_parse. Version: 2.66
[Version("2.66")]
public static extern UriOwnedHandle UriParse(NonNullableUtf8StringHandle uriString, UriFlags flags, out ErrorOwnedHandle error)
Parameters
uriString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- UriOwnedHandle
Transfer ownership: Full Nullable: False
UriParseParams(NonNullableUtf8StringHandle, long, NonNullableUtf8StringHandle, UriParamsFlags, out ErrorOwnedHandle)
Calls native function g_uri_parse_params. Version: 2.66
[Version("2.66")]
public static extern HashTableOwnedHandle UriParseParams(NonNullableUtf8StringHandle @params, long length, NonNullableUtf8StringHandle separators, UriParamsFlags flags, out ErrorOwnedHandle error)
Parameters
params
NonNullableUtf8StringHandlelength
longTransfer ownership: None Nullable: False
separators
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriParamsFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- HashTableOwnedHandle
Transfer ownership: Full Nullable: False
UriParseScheme(NonNullableUtf8StringHandle)
Calls native function g_uri_parse_scheme. Version: 2.16
[Version("2.16")]
public static extern NullableUtf8StringOwnedHandle UriParseScheme(NonNullableUtf8StringHandle uri)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
UriPeekScheme(NonNullableUtf8StringHandle)
Calls native function g_uri_peek_scheme. Version: 2.66
[Version("2.66")]
public static extern NullableUtf8StringUnownedHandle UriPeekScheme(NonNullableUtf8StringHandle uri)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
UriResolveRelative(NullableUtf8StringHandle, NonNullableUtf8StringHandle, UriFlags, out ErrorOwnedHandle)
Calls native function g_uri_resolve_relative. Version: 2.66
[Version("2.66")]
public static extern NonNullableUtf8StringOwnedHandle UriResolveRelative(NullableUtf8StringHandle baseUriString, NonNullableUtf8StringHandle uriRef, UriFlags flags, out ErrorOwnedHandle error)
Parameters
baseUriString
NullableUtf8StringHandleTransfer ownership: None Nullable: True
uriRef
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UriSplit(NonNullableUtf8StringHandle, UriFlags, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out int, out NonNullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out ErrorOwnedHandle)
Calls native function g_uri_split. Version: 2.66
[Version("2.66")]
public static extern bool UriSplit(NonNullableUtf8StringHandle uriRef, UriFlags flags, out NullableUtf8StringOwnedHandle scheme, out NullableUtf8StringOwnedHandle userinfo, out NullableUtf8StringOwnedHandle host, out int port, out NonNullableUtf8StringOwnedHandle path, out NullableUtf8StringOwnedHandle query, out NullableUtf8StringOwnedHandle fragment, out ErrorOwnedHandle error)
Parameters
uriRef
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
userinfo
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
host
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
port
intTransfer ownership: Full Nullable: False
path
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
query
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
fragment
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UriSplitNetwork(NonNullableUtf8StringHandle, UriFlags, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out int, out ErrorOwnedHandle)
Calls native function g_uri_split_network. Version: 2.66
[Version("2.66")]
public static extern bool UriSplitNetwork(NonNullableUtf8StringHandle uriString, UriFlags flags, out NullableUtf8StringOwnedHandle scheme, out NullableUtf8StringOwnedHandle host, out int port, out ErrorOwnedHandle error)
Parameters
uriString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
host
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
port
intTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UriSplitWithUser(NonNullableUtf8StringHandle, UriFlags, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out int, out NonNullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out NullableUtf8StringOwnedHandle, out ErrorOwnedHandle)
Calls native function g_uri_split_with_user. Version: 2.66
[Version("2.66")]
public static extern bool UriSplitWithUser(NonNullableUtf8StringHandle uriRef, UriFlags flags, out NullableUtf8StringOwnedHandle scheme, out NullableUtf8StringOwnedHandle user, out NullableUtf8StringOwnedHandle password, out NullableUtf8StringOwnedHandle authParams, out NullableUtf8StringOwnedHandle host, out int port, out NonNullableUtf8StringOwnedHandle path, out NullableUtf8StringOwnedHandle query, out NullableUtf8StringOwnedHandle fragment, out ErrorOwnedHandle error)
Parameters
uriRef
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
UriFlagsTransfer ownership: None Nullable: False
scheme
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
user
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
password
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
authParams
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
host
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
port
intTransfer ownership: Full Nullable: False
path
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
query
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
fragment
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
UriUnescapeBytes(NonNullableUtf8StringHandle, long, NullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native function g_uri_unescape_bytes. Version: 2.66
[Version("2.66")]
public static extern BytesOwnedHandle UriUnescapeBytes(NonNullableUtf8StringHandle escapedString, long length, NullableUtf8StringHandle illegalCharacters, out ErrorOwnedHandle error)
Parameters
escapedString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
illegalCharacters
NullableUtf8StringHandleTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False
UriUnescapeSegment(NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_unescape_segment. Version: 2.16
[Version("2.16")]
public static extern NullableUtf8StringOwnedHandle UriUnescapeSegment(NullableUtf8StringHandle escapedString, NullableUtf8StringHandle escapedStringEnd, NullableUtf8StringHandle illegalCharacters)
Parameters
escapedString
NullableUtf8StringHandleTransfer ownership: None Nullable: True
escapedStringEnd
NullableUtf8StringHandleTransfer ownership: None Nullable: True
illegalCharacters
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
UriUnescapeString(NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_uri_unescape_string. Version: 2.16
[Version("2.16")]
public static extern NullableUtf8StringOwnedHandle UriUnescapeString(NonNullableUtf8StringHandle escapedString, NullableUtf8StringHandle illegalCharacters)
Parameters
escapedString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
illegalCharacters
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Usleep(ulong)
Calls native function g_usleep.
public static extern void Usleep(ulong microseconds)
Parameters
microseconds
ulongTransfer ownership: None Nullable: False
Utf16ToUcs4(ref ushort, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_utf16_to_ucs4.
public static extern IntPtr Utf16ToUcs4(ref ushort str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
ushortTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Utf16ToUtf8(ref ushort, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_utf16_to_utf8.
public static extern NonNullableUtf8StringOwnedHandle Utf16ToUtf8(ref ushort str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
ushortTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Casefold(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_casefold.
public static extern NonNullableUtf8StringOwnedHandle Utf8Casefold(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Collate(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_utf8_collate.
public static extern int Utf8Collate(NonNullableUtf8StringHandle str1, NonNullableUtf8StringHandle str2)
Parameters
str1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
str2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Utf8CollateKey(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_collate_key.
public static extern NonNullableUtf8StringOwnedHandle Utf8CollateKey(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8CollateKeyForFilename(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_collate_key_for_filename. Version: 2.8
[Version("2.8")]
public static extern NonNullableUtf8StringOwnedHandle Utf8CollateKeyForFilename(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8FindNextChar(NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_utf8_find_next_char.
public static extern NullableUtf8StringUnownedHandle Utf8FindNextChar(NonNullableUtf8StringHandle p, NullableUtf8StringHandle end)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
end
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
Utf8FindPrevChar(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_utf8_find_prev_char.
public static extern NullableUtf8StringUnownedHandle Utf8FindPrevChar(NonNullableUtf8StringHandle str, NonNullableUtf8StringHandle p)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
Utf8GetChar(NonNullableUtf8StringHandle)
Calls native function g_utf8_get_char.
public static extern uint Utf8GetChar(NonNullableUtf8StringHandle p)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
Utf8GetCharValidated(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_get_char_validated.
public static extern uint Utf8GetCharValidated(NonNullableUtf8StringHandle p, long maxLen)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
maxLen
longTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
Utf8MakeValid(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_make_valid. Version: 2.52
[Version("2.52")]
public static extern NonNullableUtf8StringOwnedHandle Utf8MakeValid(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Normalize(NonNullableUtf8StringHandle, long, NormalizeMode)
Calls native function g_utf8_normalize.
public static extern NullableUtf8StringOwnedHandle Utf8Normalize(NonNullableUtf8StringHandle str, long len, NormalizeMode mode)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
mode
NormalizeModeTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Utf8OffsetToPointer(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_offset_to_pointer.
public static extern NonNullableUtf8StringUnownedHandle Utf8OffsetToPointer(NonNullableUtf8StringHandle str, long offset)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
offset
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Utf8PointerToOffset(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_utf8_pointer_to_offset.
public static extern long Utf8PointerToOffset(NonNullableUtf8StringHandle str, NonNullableUtf8StringHandle pos)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
pos
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
Utf8PrevChar(NonNullableUtf8StringHandle)
Calls native function g_utf8_prev_char.
public static extern NonNullableUtf8StringUnownedHandle Utf8PrevChar(NonNullableUtf8StringHandle p)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Utf8Strchr(NonNullableUtf8StringHandle, long, uint)
Calls native function g_utf8_strchr.
public static extern NullableUtf8StringUnownedHandle Utf8Strchr(NonNullableUtf8StringHandle p, long len, uint c)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
c
uintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
Utf8Strdown(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_strdown.
public static extern NonNullableUtf8StringOwnedHandle Utf8Strdown(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Strlen(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_strlen.
public static extern long Utf8Strlen(NonNullableUtf8StringHandle p, long max)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
max
longTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
Utf8Strncpy(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, nuint)
Calls native function g_utf8_strncpy.
public static extern NonNullableUtf8StringUnownedHandle Utf8Strncpy(NonNullableUtf8StringHandle dest, NonNullableUtf8StringHandle src, nuint n)
Parameters
dest
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
src
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
n
nuintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
Utf8Strrchr(NonNullableUtf8StringHandle, long, uint)
Calls native function g_utf8_strrchr.
public static extern NullableUtf8StringUnownedHandle Utf8Strrchr(NonNullableUtf8StringHandle p, long len, uint c)
Parameters
p
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
c
uintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
Utf8Strreverse(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_strreverse. Version: 2.2
[Version("2.2")]
public static extern NonNullableUtf8StringOwnedHandle Utf8Strreverse(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Strup(NonNullableUtf8StringHandle, long)
Calls native function g_utf8_strup.
public static extern NonNullableUtf8StringOwnedHandle Utf8Strup(NonNullableUtf8StringHandle str, long len)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Substring(NonNullableUtf8StringHandle, long, long)
Calls native function g_utf8_substring. Version: 2.30
[Version("2.30")]
public static extern NonNullableUtf8StringOwnedHandle Utf8Substring(NonNullableUtf8StringHandle str, long startPos, long endPos)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
startPos
longTransfer ownership: None Nullable: False
endPos
longTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8ToUcs4(NonNullableUtf8StringHandle, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_utf8_to_ucs4.
public static extern IntPtr Utf8ToUcs4(NonNullableUtf8StringHandle str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Utf8ToUcs4Fast(NonNullableUtf8StringHandle, long, out long)
Calls native function g_utf8_to_ucs4_fast.
public static extern IntPtr Utf8ToUcs4Fast(NonNullableUtf8StringHandle str, long len, out long itemsWritten)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Utf8ToUtf16(NonNullableUtf8StringHandle, long, out long, out long, out ErrorOwnedHandle)
Calls native function g_utf8_to_utf16.
public static extern IntPtr Utf8ToUtf16(NonNullableUtf8StringHandle str, long len, out long itemsRead, out long itemsWritten, out ErrorOwnedHandle error)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
len
longTransfer ownership: None Nullable: False
itemsRead
longTransfer ownership: Full Nullable: False
itemsWritten
longTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Utf8TruncateMiddle(NonNullableUtf8StringHandle, nuint)
Calls native function g_utf8_truncate_middle. Version: 2.78
[Version("2.78")]
public static extern NonNullableUtf8StringOwnedHandle Utf8TruncateMiddle(NonNullableUtf8StringHandle @string, nuint truncateLength)
Parameters
string
NonNullableUtf8StringHandletruncateLength
nuintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Utf8Validate(ref byte, long, out NonNullableUtf8StringUnownedHandle)
Calls native function g_utf8_validate.
public static extern bool Utf8Validate(ref byte str, long maxLen, out NonNullableUtf8StringUnownedHandle end)
Parameters
str
byteTransfer ownership: None Nullable: False
maxLen
longTransfer ownership: None Nullable: False
end
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Utf8ValidateLen(ref byte, nuint, out NonNullableUtf8StringUnownedHandle)
Calls native function g_utf8_validate_len. Version: 2.60
[Version("2.60")]
public static extern bool Utf8ValidateLen(ref byte str, nuint maxLen, out NonNullableUtf8StringUnownedHandle end)
Parameters
str
byteTransfer ownership: None Nullable: False
maxLen
nuintTransfer ownership: None Nullable: False
end
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UuidStringIsValid(NonNullableUtf8StringHandle)
Calls native function g_uuid_string_is_valid. Version: 2.52
[Version("2.52")]
public static extern bool UuidStringIsValid(NonNullableUtf8StringHandle str)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UuidStringRandom()
Calls native function g_uuid_string_random. Version: 2.52
[Version("2.52")]
public static extern NonNullableUtf8StringOwnedHandle UuidStringRandom()
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
VariantGetGtype()
Calls native function g_variant_get_gtype.
public static extern nuint VariantGetGtype()
Returns
- nuint
Transfer ownership: None Nullable: False
VariantIsObjectPath(NonNullableUtf8StringHandle)
Calls native function g_variant_is_object_path. Version: 2.24
[Version("2.24")]
public static extern bool VariantIsObjectPath(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
VariantIsSignature(NonNullableUtf8StringHandle)
Calls native function g_variant_is_signature. Version: 2.24
[Version("2.24")]
public static extern bool VariantIsSignature(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
VariantParse(VariantTypeHandle, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native function g_variant_parse.
public static extern VariantOwnedHandle VariantParse(VariantTypeHandle type, NonNullableUtf8StringHandle text, NullableUtf8StringHandle limit, NullableUtf8StringHandle endptr, out ErrorOwnedHandle error)
Parameters
type
VariantTypeHandleTransfer ownership: None Nullable: True
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
limit
NullableUtf8StringHandleTransfer ownership: None Nullable: True
endptr
NullableUtf8StringHandleTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
VariantParseErrorPrintContext(ErrorHandle, NonNullableUtf8StringHandle)
Calls native function g_variant_parse_error_print_context. Version: 2.40
[Version("2.40")]
public static extern NonNullableUtf8StringOwnedHandle VariantParseErrorPrintContext(ErrorHandle error, NonNullableUtf8StringHandle sourceStr)
Parameters
error
ErrorHandleTransfer ownership: None Nullable: False
sourceStr
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
VariantParseErrorQuark()
Calls native function g_variant_parse_error_quark.
public static extern uint VariantParseErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
VariantParserGetErrorQuark()
Calls native function g_variant_parser_get_error_quark.
public static extern uint VariantParserGetErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
VariantTypeChecked(NonNullableUtf8StringHandle)
Calls native function g_variant_type_checked_.
public static extern VariantTypeUnownedHandle VariantTypeChecked(NonNullableUtf8StringHandle typeString)
Parameters
typeString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- VariantTypeUnownedHandle
Transfer ownership: None Nullable: False
VariantTypeStringGetDepth(NonNullableUtf8StringHandle)
Calls native function g_variant_type_string_get_depth_.
public static extern nuint VariantTypeStringGetDepth(NonNullableUtf8StringHandle typeString)
Parameters
typeString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
VariantTypeStringIsValid(NonNullableUtf8StringHandle)
Calls native function g_variant_type_string_is_valid.
public static extern bool VariantTypeStringIsValid(NonNullableUtf8StringHandle typeString)
Parameters
typeString
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
VariantTypeStringScan(NonNullableUtf8StringHandle, NullableUtf8StringHandle, out NonNullableUtf8StringOwnedHandle)
Calls native function g_variant_type_string_scan. Version: 2.24
[Version("2.24")]
public static extern bool VariantTypeStringScan(NonNullableUtf8StringHandle @string, NullableUtf8StringHandle limit, out NonNullableUtf8StringOwnedHandle endptr)
Parameters
string
NonNullableUtf8StringHandlelimit
NullableUtf8StringHandleTransfer ownership: None Nullable: True
endptr
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Vasprintf(out NonNullableUtf8StringOwnedHandle, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_vasprintf. Version: 2.4
[Version("2.4")]
public static extern int Vasprintf(out NonNullableUtf8StringOwnedHandle @string, NonNullableUtf8StringHandle format, IntPtr args)
Parameters
string
NonNullableUtf8StringOwnedHandleformat
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Vfprintf(IntPtr, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_vfprintf. Version: 2.2
[Version("2.2")]
public static extern int Vfprintf(IntPtr file, NonNullableUtf8StringHandle format, IntPtr args)
Parameters
file
IntPtrTransfer ownership: None Nullable: False
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Vprintf(NonNullableUtf8StringHandle, IntPtr)
Calls native function g_vprintf. Version: 2.2
[Version("2.2")]
public static extern int Vprintf(NonNullableUtf8StringHandle format, IntPtr args)
Parameters
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Vsnprintf(NonNullableUtf8StringHandle, ulong, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_vsnprintf.
public static extern int Vsnprintf(NonNullableUtf8StringHandle @string, ulong n, NonNullableUtf8StringHandle format, IntPtr args)
Parameters
string
NonNullableUtf8StringHandlen
ulongTransfer ownership: None Nullable: False
format
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Vsprintf(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr)
Calls native function g_vsprintf. Version: 2.2
[Version("2.2")]
public static extern int Vsprintf(NonNullableUtf8StringHandle @string, NonNullableUtf8StringHandle format, IntPtr args)
Parameters
string
NonNullableUtf8StringHandleformat
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
args
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
WarnMessage(NullableUtf8StringHandle, NonNullableUtf8StringHandle, int, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_warn_message.
public static extern void WarnMessage(NullableUtf8StringHandle domain, NonNullableUtf8StringHandle file, int line, NonNullableUtf8StringHandle func, NullableUtf8StringHandle warnexpr)
Parameters
domain
NullableUtf8StringHandleTransfer ownership: None Nullable: True
file
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
line
intTransfer ownership: None Nullable: False
func
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
warnexpr
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Win32CheckWindowsVersion(int, int, int, Win32OSType)
Calls native function g_win32_check_windows_version. Version: 2.44
[Version("2.44")]
public static extern bool Win32CheckWindowsVersion(int major, int minor, int spver, Win32OSType osType)
Parameters
major
intTransfer ownership: None Nullable: False
minor
intTransfer ownership: None Nullable: False
spver
intTransfer ownership: None Nullable: False
osType
Win32OSTypeTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Win32ErrorMessage(int)
Calls native function g_win32_error_message.
public static extern NonNullableUtf8StringOwnedHandle Win32ErrorMessage(int error)
Parameters
error
intTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Win32Ftruncate(int, uint)
Calls native function g_win32_ftruncate.
public static extern int Win32Ftruncate(int f, uint size)
Parameters
Returns
- int
Transfer ownership: None Nullable: False
Win32GetCommandLine()
Calls native function g_win32_get_command_line. Version: 2.40
[Version("2.40")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle Win32GetCommandLine()
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
Win32GetPackageInstallationDirectory(NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_win32_get_package_installation_directory.
public static extern NonNullableUtf8StringOwnedHandle Win32GetPackageInstallationDirectory(NullableUtf8StringHandle package, NullableUtf8StringHandle dllName)
Parameters
package
NullableUtf8StringHandleTransfer ownership: None Nullable: True
dllName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Win32GetPackageInstallationDirectoryOfModule(IntPtr)
Calls native function g_win32_get_package_installation_directory_of_module. Version: 2.16
[Version("2.16")]
public static extern NonNullableUtf8StringOwnedHandle Win32GetPackageInstallationDirectoryOfModule(IntPtr hmodule)
Parameters
hmodule
IntPtrTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Win32GetPackageInstallationSubdirectory(NullableUtf8StringHandle, NullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_win32_get_package_installation_subdirectory.
public static extern NonNullableUtf8StringOwnedHandle Win32GetPackageInstallationSubdirectory(NullableUtf8StringHandle package, NullableUtf8StringHandle dllName, NonNullableUtf8StringHandle subdir)
Parameters
package
NullableUtf8StringHandleTransfer ownership: None Nullable: True
dllName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
subdir
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Win32GetSystemDataDirsForModule(IntPtr)
Calls native function g_win32_get_system_data_dirs_for_module.
public static extern Utf8StringArrayNullTerminatedUnownedHandle Win32GetSystemDataDirsForModule(IntPtr addressOfFunction)
Parameters
addressOfFunction
IntPtrTransfer ownership: None Nullable: True
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
Win32GetWindowsVersion()
Calls native function g_win32_get_windows_version.
public static extern uint Win32GetWindowsVersion()
Returns
- uint
Transfer ownership: None Nullable: False
Win32Getlocale()
Calls native function g_win32_getlocale.
public static extern NonNullableUtf8StringOwnedHandle Win32Getlocale()
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Win32LocaleFilenameFromUtf8(NonNullableUtf8StringHandle)
Calls native function g_win32_locale_filename_from_utf8. Version: 2.8
[Version("2.8")]
public static extern NonNullableUtf8StringOwnedHandle Win32LocaleFilenameFromUtf8(NonNullableUtf8StringHandle utf8filename)
Parameters
utf8filename
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False