函数

GObjectCClosuremarshal_VOID__VARIANT

声明 [src]

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
)

描述 [src]

一个用于带有单个 GVariant 参数的信号的 GClosureMarshal 函数。

参数

closure

类型: GClosure

一个 GClosure

数据由函数的调用者拥有。
return_value

类型: GValue

存储返回值的 GValue。如果闭包的回调不返回值,则可能是 NULL

数据由函数的调用者拥有。
n_param_values

类型: guint

param_values 数组的长度。

param_values

类型: GValue

一个 GValue 数组,包含要在上调用闭包回调的参数。

数据由函数的调用者拥有。
invocation_hint

类型: gpointer

作为 gClosure_invoke() 的最后一个参数给出的调用提示。

此参数可以是 NULL
数据由函数的调用者拥有。
marshal_data

类型: gpointer

在注册 marshaller 时指定的额外数据,参见 g_closure_set_marshal() 和 gClosure_set_meta_marshal()。

此参数可以是 NULL
数据由函数的调用者拥有。