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

Type: GClosure

A GClosure.

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

Type: 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

Type: guint

The length of the param_values array.

param_values

Type: 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

Type: gpointer

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

The argument can be NULL.
The data is owned by the caller of the function.
marshal_data

Type: gpointer

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

The argument can be NULL.
The data is owned by the caller of the function.