Package org.gnome.gobject
Class CClosure
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.CClosure
- All Implemented Interfaces:
Proxy
A
GCClosure is a specialization of GClosure for C function callbacks.-
Constructor Summary
ConstructorsConstructorDescriptionCClosure()Allocate a new CClosure.Allocate a new CClosure.CClosure(MemorySegment address) Create a CClosure proxy instance for the provided memory address.CClosure(Closure closure, MemorySegment callback) Allocate a new CClosure with the fields set to the provided values.CClosure(Closure closure, MemorySegment callback, Arena arena) Allocate a new CClosure with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.static voidmarshalBOOLEANBOXEDBOXED(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take two boxed pointers as arguments and return a boolean.static voidmarshalBOOLEANFLAGS(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take a flags type as an argument and return a boolean.static voidmarshalGeneric(Closure closure, Value returnGvalue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) A generic marshaller function implemented via libffi.static voidmarshalSTRINGOBJECTPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take aGObjectand a pointer and produce a string.static voidmarshalVOIDBOOLEAN(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single boolean argument.static voidmarshalVOIDBOXED(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument which is any boxed pointer type.static voidmarshalVOIDCHAR(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single character argument.static voidmarshalVOIDDOUBLE(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with one double-precision floating point argument.static voidmarshalVOIDENUM(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument with an enumerated type.static voidmarshalVOIDFLAGS(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument with a flags types.static voidmarshalVOIDFLOAT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with one single-precision floating point argument.static voidmarshalVOIDINT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single integer argument.static voidmarshalVOIDLONG(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with with a single long integer argument.static voidmarshalVOIDOBJECT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a singleGObjectargument.static voidmarshalVOIDPARAM(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument of typeGParamSpec.static voidmarshalVOIDPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single raw pointer argument type.static voidmarshalVOIDSTRING(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single string argument.static voidmarshalVOIDUCHAR(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single unsigned character argument.static voidmarshalVOIDUINT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with with a single unsigned integer argument.static voidmarshalVOIDUINTPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with an unsigned int and a pointer as arguments.static voidmarshalVOIDULONG(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single unsigned long integer argument.static voidmarshalVOIDVARIANT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a singleGVariantargument.static voidmarshalVOIDVOID(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with no arguments.Read the value of the fieldcallback.@Nullable ClosureRead the value of the fieldclosure.voidwriteCallback(MemorySegment callback) Write a value in the fieldcallback.voidwriteClosure(@Nullable Closure closure) Write a value in the fieldclosure.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
CClosure
Create a CClosure proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
CClosure
Allocate a new CClosure.- Parameters:
arena- to control the memory allocation scope
-
CClosure
public CClosure()Allocate a new CClosure. The memory is allocated withArena.ofAuto(). -
CClosure
Allocate a new CClosure with the fields set to the provided values.- Parameters:
closure- value for the fieldclosurecallback- value for the fieldcallbackarena- to control the memory allocation scope
-
CClosure
Allocate a new CClosure with the fields set to the provided values. The memory is allocated withArena.ofAuto().- Parameters:
closure- value for the fieldclosurecallback- value for the fieldcallback
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readClosure
Read the value of the fieldclosure.- Returns:
- The value of the field
closure
-
writeClosure
Write a value in the fieldclosure.- Parameters:
closure- The new value for the fieldclosure
-
readCallback
Read the value of the fieldcallback.- Returns:
- The value of the field
callback
-
writeCallback
Write a value in the fieldcallback.- Parameters:
callback- The new value for the fieldcallback
-
marshalBOOLEANBOXEDBOXED
public static void marshalBOOLEANBOXEDBOXED(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take two boxed pointers as arguments and return a boolean. If you have such a signal, you will probably also need to use an accumulator, such as g_signal_accumulator_true_handled().- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalBOOLEANFLAGS
public static void marshalBOOLEANFLAGS(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take a flags type as an argument and return a boolean. If you have such a signal, you will probably also need to use an accumulator, such as g_signal_accumulator_true_handled().- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalSTRINGOBJECTPOINTER
public static void marshalSTRINGOBJECTPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with handlers that take aGObjectand a pointer and produce a string. It is highly unlikely that your signal handler fits this description.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDBOOLEAN
public static void marshalVOIDBOOLEAN(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single boolean argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDBOXED
public static void marshalVOIDBOXED(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument which is any boxed pointer type.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDCHAR
public static void marshalVOIDCHAR(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single character argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDDOUBLE
public static void marshalVOIDDOUBLE(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with one double-precision floating point argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDENUM
public static void marshalVOIDENUM(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument with an enumerated type.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDFLAGS
public static void marshalVOIDFLAGS(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument with a flags types.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDFLOAT
public static void marshalVOIDFLOAT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with one single-precision floating point argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDINT
public static void marshalVOIDINT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single integer argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDLONG
public static void marshalVOIDLONG(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with with a single long integer argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDOBJECT
public static void marshalVOIDOBJECT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a singleGObjectargument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDPARAM
public static void marshalVOIDPARAM(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single argument of typeGParamSpec.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDPOINTER
public static void marshalVOIDPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single raw pointer argument type.If it is possible, it is better to use one of the more specific functions such as g_cclosure_marshal_VOID__OBJECT() or g_cclosure_marshal_VOID__OBJECT().
- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDSTRING
public static void marshalVOIDSTRING(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single string argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDUCHAR
public static void marshalVOIDUCHAR(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single unsigned character argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDUINT
public static void marshalVOIDUINT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with with a single unsigned integer argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDUINTPOINTER
public static void marshalVOIDUINTPOINTER(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with an unsigned int and a pointer as arguments.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDULONG
public static void marshalVOIDULONG(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a single unsigned long integer argument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDVARIANT
public static void marshalVOIDVARIANT(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with a singleGVariantargument.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalVOIDVOID
public static void marshalVOIDVOID(Closure closure, Value returnValue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) AGClosureMarshalfunction for use with signals with no arguments.- Parameters:
closure- AGClosure.returnValue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
-
marshalGeneric
public static void marshalGeneric(Closure closure, Value returnGvalue, int nParamValues, Value paramValues, @Nullable MemorySegment invocationHint, @Nullable MemorySegment marshalData) A generic marshaller function implemented via libffi.Normally this function is not passed explicitly to g_signal_new(), but used automatically by GLib when specifying a
nullmarshaller.- Parameters:
closure- AGClosure.returnGvalue- AGValueto store the return value. May benullif the callback of closure doesn't return a value.nParamValues- The length of theparamValuesarray.paramValues- An array ofGValuesholding the arguments on which to invoke the callback of closure.invocationHint- The invocation hint given as the last argument to g_closure_invoke().marshalData- Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()- Since:
- 2.30
-