Function

GObjectCClosuremarshal_generic

Declaration

void
g_cclosure_marshal_generic (
  GClosure* closure,
  GValue* return_gvalue,
  guint n_param_values,
  const GValue* param_values,
  gpointer invocation_hint,
  gpointer marshal_data
)

Description

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.

Available since:2.30

Parameters

closure GClosure
 

A GClosure.

 The data is owned by the caller of the function.
return_gvalue GValue
 

A GValue to store the return value. May be NULL if the callback of closure doesn’t return a value.

 The data is owned by the caller of the function.
n_param_values guint
 

The length of the param_values array.

param_values GValue
 

An array of GValues holding the arguments on which to invoke the callback of closure.

 The data is owned by the caller of the function.
invocation_hint gpointer
 

The invocation hint given as the last argument to g_closure_invoke().

marshal_data gpointer
 

Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()