Marshallers

Marshallers — gflib Marshallers

Synopsis




#define     gf_marshal_VOID__VOID
#define     gf_marshal_VOID__OBJECT
void        gf_marshal_VOID__OBJECT_OBJECT  (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);
#define     gf_marshal_VOID__POINTER
void        gf_marshal_VOID__POINTER_OBJECT (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);
void        gf_marshal_VOID__STRING_POINTER (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);
void        gf_marshal_BOOLEAN__OBJECT_OBJECT
                                            (GClosure *closure,
                                             GValue *return_value,
                                             guint n_param_values,
                                             const GValue *param_values,
                                             gpointer invocation_hint,
                                             gpointer marshal_data);

Description

The marshallers used for singals in gflib.

Details

gf_marshal_VOID__VOID

#define gf_marshal_VOID__VOID	g_cclosure_marshal_VOID__VOID

A wrapper around g_cclosure_marshal_VOID__VOID.


gf_marshal_VOID__OBJECT

#define gf_marshal_VOID__OBJECT	g_cclosure_marshal_VOID__OBJECT

A wrapper around g_cclosure_marshal_VOID__OBJECT.


gf_marshal_VOID__OBJECT_OBJECT ()

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

A marshaller with a callback of type void (*callback)(gpointer instance, GObject *arg1, GObject *arg2, gpointer user data).

closure : The GClosure to which the marshaller belongs
return_value : Ignored
n_param_values : 3
param_values : a GValue array holding the instance and the GObject* parameters
invocation_hint : the invocation hint given as the the last argument to #g_closure_invoke()
marshal_data : additional data specified when registering the marshaller

gf_marshal_VOID__POINTER

#define gf_marshal_VOID__POINTER	g_cclosure_marshal_VOID__POINTER

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


gf_marshal_VOID__POINTER_OBJECT ()

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

A marshaller with a callback of type void (*callback)(gpointer instance, gpointer arg1, GObject *arg2, gpointer user_data).

closure : The GCClosure to which the marshaller belongs
return_value : Ignored
n_param_values : 3
param_values : a GValue array holding the instance and the parameters.
invocation_hint : The invocation hint given as the last argument to #g_closure_invoke()
marshal_data : additional data specified when registering the marshaller

gf_marshal_VOID__STRING_POINTER ()

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

A marshall with a callback of type void (*callback)(gpointer instance, gpointer arg1, const gchar *arg2, gpointer arg3, gpointer user_data).

closure : The GCClosure
return_value : Ignored
n_param_values : 4
param_values : a GValue array holding the instance and the parameters.
invocation_hint : The invocation hint given as the last argument to #g_closure_invoke().
marshal_data : Additional data specified when registering the marshaller.

gf_marshal_BOOLEAN__OBJECT_OBJECT ()

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

A marshaller with a callback of type gboolean (*callback)(gpointer instance, GObject *arg1, GObject *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 the instance the GObject * parameters.
invocation_hint : The onvocation hint given as the last argument to #g_closure_invoke()
marshal_data : additional data specified when registering the marshaller