marshalGeneric

fun marshalGeneric(closure: Closure, returnGvalue: Value, nParamValues: <Error class: unknown class>, paramValues: Value, invocationHint: <Error class: unknown class>? = null, marshalData: <Error class: unknown class>? = null)

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 null marshaller.

Since

2.30

Parameters

closure

A #GClosure.

returnGvalue

A #GValue to store the return value. May be null if the callback of closure doesn't return a value.

nParamValues

The length of the @param_values array.

paramValues

An array of #GValues holding 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()