ClosureMarshal

typealias ClosureMarshal = (closure: Closure, returnValue: Value?, <Error class: unknown class>, <Error class: unknown class>?, <Error class: unknown class>?) -> Unit

The type used for marshaller functions.

  • param closure the #GClosure to which the marshaller belongs

  • param returnValue a #GValue to store the return value. May be null if the callback of @closure doesn't return a value.

  • param nParamValues the length of the @param_values array

  • param invocationHint the invocation hint given as the last argument to g_closure_invoke()

  • param marshalData additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()