diff options
Diffstat (limited to 'liblogdiag/ld-marshal.c')
-rw-r--r-- | liblogdiag/ld-marshal.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/liblogdiag/ld-marshal.c b/liblogdiag/ld-marshal.c index ac88836..2eaa7b3 100644 --- a/liblogdiag/ld-marshal.c +++ b/liblogdiag/ld-marshal.c @@ -86,3 +86,40 @@ g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure *closure, data2); } +/* VOID:OBJECT,STRING (ld-marshal.list:2) */ +void +g_cclosure_user_marshal_VOID__OBJECT_STRING (GClosure *closure, + GValue *return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint G_GNUC_UNUSED, + gpointer marshal_data) +{ + typedef void (*GMarshalFunc_VOID__OBJECT_STRING) (gpointer data1, + gpointer arg_1, + gpointer arg_2, + gpointer data2); + register GMarshalFunc_VOID__OBJECT_STRING callback; + register GCClosure *cc = (GCClosure*) closure; + register gpointer data1, data2; + + g_return_if_fail (n_param_values == 3); + + if (G_CCLOSURE_SWAP_DATA (closure)) + { + data1 = closure->data; + data2 = g_value_peek_pointer (param_values + 0); + } + else + { + data1 = g_value_peek_pointer (param_values + 0); + data2 = closure->data; + } + callback = (GMarshalFunc_VOID__OBJECT_STRING) (marshal_data ? marshal_data : cc->callback); + + callback (data1, + g_marshal_value_peek_object (param_values + 1), + g_marshal_value_peek_string (param_values + 2), + data2); +} + |