2
#include <glib-object.h>
3
#include "cc-marshal.h"
5
/* VOID:STRING,POINTER (peditor-marshal.list:25) */
7
cc_marshal_VOID__STRING_POINTER (GClosure *closure,
10
const GValue *param_values,
11
gpointer invocation_hint,
12
gpointer marshal_data)
14
typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer data1,
18
register GMarshalFunc_VOID__STRING_POINTER callback;
19
register GCClosure *cc = (GCClosure*) closure;
20
register gpointer data1, data2;
22
g_return_if_fail (n_param_values == 3);
24
if (G_CCLOSURE_SWAP_DATA (closure))
26
data1 = closure->data;
27
data2 = g_value_peek_pointer (param_values + 0);
31
data1 = g_value_peek_pointer (param_values + 0);
32
data2 = closure->data;
34
callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
37
(char*) g_value_get_string (param_values + 1),
38
g_value_get_pointer (param_values + 2),