Closure Marshallers

Closure Marshallers — Closure Marshallers

Synopsis




void        sbuild_cclosure_marshal_ENUM__VOID
                                            (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);
void        sbuild_cclosure_marshal_BOOLEAN__BOXED
                                            (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);
void        sbuild_cclosure_marshal_BOOLEAN__UINT_BOXED
                                            (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);

Description

These closure marshaller (GClosureMarshal) functions are used during GObject signal emission to marshal arguments for invoking signal handlers (closures). Please see the GObject documentation for further details.

Details

sbuild_cclosure_marshal_ENUM__VOID ()

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

A marshaller for a GCClosure with a callback of type enum (*callback) (gpointer instance, gpointer user_data).

closure : the GClosure to which the marshaller belongs
return_value : a GValue which can store the returned enum
n_param_values : 1
param_values : a GValue array holding only the instance
invocation_hint : the invocation hint given as the the last argument to g_closure_invoke()
marshal_data : additional data specified when registering the marshaller

sbuild_cclosure_marshal_BOOLEAN__BOXED ()

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

A marshaller for a GCClosure with a callback of type boolean (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data).

closure : the GClosure to which the marshaller belongs
return_value : a GValue which can store the returned gboolean
n_param_values : 2
param_values : a GValue array holding instance and arg1
invocation_hint : the invocation hint given as the the last argument to g_closure_invoke()
marshal_data : additional data specified when registering the marshaller

sbuild_cclosure_marshal_BOOLEAN__UINT_BOXED ()

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

A marshaller for a GCClosure with a callback of type boolean (*callback) (gpointer instance, guint arg1, GBoxed *arg2, gpointer user_data).

closure : the GClosure to which the marshaller belongs
return_value : a GValue which can store the returned gboolean
n_param_values : 3
param_values : a GValue array holding instance, arg1 and arg2.
invocation_hint : the invocation hint given as the the last argument to g_closure_invoke()
marshal_data : additional data specified when registering the marshaller