CClosure.marshalGeneric

void marshalGeneric(gobject.closure.Closure closure, gobject.value.Value returnGvalue, uint nParamValues, gobject.value.Value paramValues, void * invocationHint = null, void * marshalData = null)

A generic marshaller function implemented via

libffi.

Normally this function is not passed explicitly to [gobject.global.signalNew], but used automatically by GLib when specifying a null marshaller.

Parameters

closureA #GClosure.
returnGvalueA #GValue to store the return value. May be null if the callback of closure doesn't return a value.
nParamValuesThe length of the param_values array.
paramValuesAn array of #GValues holding the arguments on which to invoke the callback of closure.
invocationHintThe invocation hint given as the last argument to [gobject.closure.Closure.invoke].
marshalDataAdditional data specified when registering the marshaller, see [gobject.closure.Closure.setMarshal] and [gobject.closure.Closure.setMetaMarshal]