Function

GObjectCClosuremarshal_VOID__VARIANT

Declaration

void
g_cclosure_marshal_VOID__VARIANT (
  GClosure* closure,
  GValue* return_value,
  guint n_param_values,
  const GValue* param_values,
  gpointer invocation_hint,
  gpointer marshal_data
)

Description

A marshaller for a GCClosure with a callback of type void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data).

Available since:2.26

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

Ignored.

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

Type: guint

2

param_values

Type: GValue

A GValue array holding the instance and the GVariant* parameter.

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.

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