函数

GObjectCClosuremarshal_VOID__STRING

声明 [源]

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

描述 [源]

用于与单一字符串参数的信号一起使用的 GClosureMarshal 函数。

参数

closure

类型: GClosure

A GClosure

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

类型: GValue

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

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

类型: guint

param_values 数组的长度。

param_values

类型: GValue

一个持有要触发闭包回调的参数的 GValue 数组。

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

类型: gpointer

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

该参数可以是 NULL
The data is owned by the caller of the function.
marshal_data

类型: gpointer

注册marshaller时指定的附加数据,请参阅 g_closure_set_marshal()g_closure_set_meta_marshal()

该参数可以是 NULL
The data is owned by the caller of the function.