函数

GObjectCClosuremarshal_STRING__OBJECT_POINTER

声明 [源代码]

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

描述 [源代码]

这是一个用于与信号处理函数(处理函数接受一个 GObject 和一个指针并生成一个字符串)的 GClosureMarshal 函数。你的信号处理函数符合这一描述的可能性非常低。

参数

闭包

类型: GClosure

GClosure 类。

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

类型: GValue

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

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

类型: guint

param_values 数组的长度。

param_values

类型: GValue

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

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

类型: gpointer

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

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

类型: gpointer

在注册marshaller时指定的额外数据,请参阅 g_closure_set_marshal()g_closure_set_meta_marshal()

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