Back to index

im-sdk  12.3.91
unicode_char_info_marshal.c
Go to the documentation of this file.
00001 #include "unicode_char_info_marshal.h"
00002 #if 0
00003 void
00004 gucharmap_marshal_VOID__UINT_UINT (GClosure     *closure,
00005                                    GValue       *return_value,
00006                                    guint         n_param_values,
00007                                    const GValue *param_values,
00008                                    gpointer      invocation_hint,
00009                                    gpointer      marshal_data)
00010 {
00011   typedef void (*GMarshalFunc_VOID__UINT_UINT) (gpointer     data1,
00012                                                 guint        arg_1,
00013                                                 guint        arg_2,
00014                                                 gpointer     data2);
00015   register GMarshalFunc_VOID__UINT_UINT callback;
00016   register GCClosure *cc = (GCClosure*) closure;
00017   register gpointer data1, data2;
00018 
00019   g_return_if_fail (n_param_values == 3);
00020 
00021   if (G_CCLOSURE_SWAP_DATA (closure))
00022     {
00023       data1 = closure->data;
00024       data2 = g_value_peek_pointer (param_values + 0);
00025     }
00026   else
00027     {
00028       data1 = g_value_peek_pointer (param_values + 0);
00029       data2 = closure->data;
00030     }
00031   callback = (GMarshalFunc_VOID__UINT_UINT) (marshal_data ? marshal_data : cc->callback);
00032 
00033   callback (data1,
00034             g_marshal_value_peek_uint (param_values + 1),
00035             g_marshal_value_peek_uint (param_values + 2),
00036             data2);
00037 }
00038 #endif
00039