Function

GObjectCClosuremarshal_generic_va

Declaration

void
g_cclosure_marshal_generic_va (
  GClosure* closure,
  GValue* return_value,
  GObjectTypeInstance* instance,
  va_list args_list,
  gpointer marshal_data,
  int n_params,
  GType* param_types
)

Description

A generic GVaClosureMarshal function implemented via libffi.

Available since:2.30

Parameters

closure

Type: GClosure

The GClosure to which the marshaller belongs.

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

Type: GValue

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

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

Type: GTypeInstance

The instance on which the closure is invoked.

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

Type: va_list

Va_list of arguments to be passed to the closure.

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.
n_params

Type: int

The length of the param_types array.

param_types

Type: An array of GType

The GType of each argument from args_list.

The length of the array is specified in the n_params argument.
The data is owned by the caller of the function.