Class Closure
public class Closure
- Inheritance
-
Closure
- Inherited Members
Methods
AddFinalizeNotifier(ClosureHandle, IntPtr, ClosureNotify)
Calls native method g_closure_add_finalize_notifier.
public static extern void AddFinalizeNotifier(ClosureHandle closure, IntPtr notifyData, ClosureNotify notifyFunc)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
notifyData
IntPtrTransfer ownership: None Nullable: True
notifyFunc
ClosureNotifyTransfer ownership: None Nullable: True
AddInvalidateNotifier(ClosureHandle, IntPtr, ClosureNotify)
Calls native method g_closure_add_invalidate_notifier.
public static extern void AddInvalidateNotifier(ClosureHandle closure, IntPtr notifyData, ClosureNotify notifyFunc)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
notifyData
IntPtrTransfer ownership: None Nullable: True
notifyFunc
ClosureNotifyTransfer ownership: None Nullable: True
AddMarshalGuards(ClosureHandle, IntPtr, ClosureNotify, IntPtr, ClosureNotify)
Calls native method g_closure_add_marshal_guards.
public static extern void AddMarshalGuards(ClosureHandle closure, IntPtr preMarshalData, ClosureNotify preMarshalNotify, IntPtr postMarshalData, ClosureNotify postMarshalNotify)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
preMarshalData
IntPtrTransfer ownership: None Nullable: True
preMarshalNotify
ClosureNotifyTransfer ownership: None Nullable: True
postMarshalData
IntPtrTransfer ownership: None Nullable: True
postMarshalNotify
ClosureNotifyTransfer ownership: None Nullable: True
GetGType()
Calls native function g_closure_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
Invalidate(ClosureHandle)
Calls native method g_closure_invalidate.
public static extern void Invalidate(ClosureHandle closure)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
NewObject(uint, IntPtr)
Calls native constructor g_closure_new_object.
public static extern ClosureUnownedHandle NewObject(uint sizeofClosure, IntPtr @object)
Parameters
Returns
- ClosureUnownedHandle
Transfer ownership: None Nullable: False
NewSimple(uint, IntPtr)
Calls native constructor g_closure_new_simple.
public static extern ClosureUnownedHandle NewSimple(uint sizeofClosure, IntPtr data)
Parameters
sizeofClosure
uintTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ClosureUnownedHandle
Transfer ownership: None Nullable: False
Ref(ClosureHandle)
Calls native method g_closure_ref.
public static extern ClosureUnownedHandle Ref(ClosureHandle closure)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
Returns
- ClosureUnownedHandle
Transfer ownership: None Nullable: False
RemoveFinalizeNotifier(ClosureHandle, IntPtr, ClosureNotify)
Calls native method g_closure_remove_finalize_notifier.
public static extern void RemoveFinalizeNotifier(ClosureHandle closure, IntPtr notifyData, ClosureNotify notifyFunc)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
notifyData
IntPtrTransfer ownership: None Nullable: True
notifyFunc
ClosureNotifyTransfer ownership: None Nullable: False
RemoveInvalidateNotifier(ClosureHandle, IntPtr, ClosureNotify)
Calls native method g_closure_remove_invalidate_notifier.
public static extern void RemoveInvalidateNotifier(ClosureHandle closure, IntPtr notifyData, ClosureNotify notifyFunc)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
notifyData
IntPtrTransfer ownership: None Nullable: True
notifyFunc
ClosureNotifyTransfer ownership: None Nullable: False
SetMarshal(ClosureHandle, ClosureMarshal)
Calls native method g_closure_set_marshal.
public static extern void SetMarshal(ClosureHandle closure, ClosureMarshal marshal)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
marshal
ClosureMarshalTransfer ownership: None Nullable: False
SetMetaMarshal(ClosureHandle, IntPtr, ClosureMarshal)
Calls native method g_closure_set_meta_marshal.
public static extern void SetMetaMarshal(ClosureHandle closure, IntPtr marshalData, ClosureMarshal metaMarshal)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
marshalData
IntPtrTransfer ownership: None Nullable: True
metaMarshal
ClosureMarshalTransfer ownership: None Nullable: True
Sink(ClosureHandle)
Calls native method g_closure_sink.
public static extern void Sink(ClosureHandle closure)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False
Unref(ClosureHandle)
Calls native method g_closure_unref.
public static extern void Unref(ClosureHandle closure)
Parameters
closure
ClosureHandleTransfer ownership: None Nullable: False