函数

GObjectCClosuremarshal_VOID__OBJECT

声明 [源代码位置]

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

描述 [源代码位置]

用于与单个 GObject 参数的信号一起使用的 GClosureMarshal 函数。

参数

closure

类型: GClosure

一个 GClosure.

该数据由函数的调用者拥有。
返回值

类型:<a href="struct.Value.html"><code>GValue</code></a>

一个用于存储返回值的GValue。如果闭包的回调不返回值,则可能为NULL

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

类型:guint

数组param_values的长度。

param_values

类型:<a href="struct.Value.html"><code>GValue</code></a>

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

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

类型:gpointer

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

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

类型:gpointer

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

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