函数
GObjectCClosuremarshal_VOID__POINTER
声明 [src]
void
g_cclosure_marshal_VOID__POINTER (
GClosure* closure,
GValue* return_value,
guint n_param_values,
const GValue* param_values,
gpointer invocation_hint,
gpointer marshal_data
)
描述 [src]
用于单个原始指针类型信号的 GClosureMarshal
函数。
如果可能,最好使用更具体的函数,例如 g_cclosure_marshal_VOID__OBJECT() 或 g_cclosure_marshal_VOID__OBJECT()。
参数
closure
-
类型:
GClosure
一个
GClosure
。数据由函数的调用者拥有。 返回值
-
类型:
GValue
存储返回值的一个
GValue
。如果闭包的回调函数不返回值,则为NULL
。数据由函数的调用者拥有。 n_param_values
-
类型:
guint
param_values
数组的长度。 param_values
-
类型:
GValue
一个数组,包含
GValue
,保存要调用闭包回调函数的参数。数据由函数的调用者拥有。 invocation_hint
-
类型:
gpointer
作为g_closure_invoke()的最后一个参数给出的调用提示。
该参数可以为 NULL
。数据由函数的调用者拥有。 marshal_data
-
类型:
gpointer
在注册marshaller时指定的额外数据,请参阅
g_closure_set_marshal()
和g_closure_set_meta_marshal()
。该参数可以为 NULL
。数据由函数的调用者拥有。