~ubuntu-branches/ubuntu/intrepid/gvfs/intrepid-proposed

« back to all changes in this revision

Viewing changes to daemon/obexftp-marshal.c

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-10-08 07:50:12 UTC
  • Revision ID: james.westby@ubuntu.com-20081008075012-prpzfqvn52059zg6
Tags: 1.0.1-0ubuntu3
Last upload missed publisher by a few minutes for the
libbluetooth2->libbluetooth3 transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#endif /* !G_ENABLE_DEBUG */
49
49
 
50
50
 
51
 
/* VOID:STRING,STRING (obexftp-marshal.list:1) */
 
51
/* VOID:STRING (obexftp-marshal.list:1) */
 
52
 
 
53
/* VOID:STRING,STRING (obexftp-marshal.list:2) */
52
54
void
53
55
obexftp_marshal_VOID__STRING_STRING (GClosure     *closure,
54
56
                                     GValue       *return_value G_GNUC_UNUSED,
85
87
            data2);
86
88
}
87
89
 
88
 
/* VOID:STRING,STRING,UINT64 (obexftp-marshal.list:2) */
 
90
/* VOID:STRING,STRING,STRING (obexftp-marshal.list:3) */
 
91
void
 
92
obexftp_marshal_VOID__STRING_STRING_STRING (GClosure     *closure,
 
93
                                            GValue       *return_value G_GNUC_UNUSED,
 
94
                                            guint         n_param_values,
 
95
                                            const GValue *param_values,
 
96
                                            gpointer      invocation_hint G_GNUC_UNUSED,
 
97
                                            gpointer      marshal_data)
 
98
{
 
99
  typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer     data1,
 
100
                                                           gpointer     arg_1,
 
101
                                                           gpointer     arg_2,
 
102
                                                           gpointer     arg_3,
 
103
                                                           gpointer     data2);
 
104
  register GMarshalFunc_VOID__STRING_STRING_STRING callback;
 
105
  register GCClosure *cc = (GCClosure*) closure;
 
106
  register gpointer data1, data2;
 
107
 
 
108
  g_return_if_fail (n_param_values == 4);
 
109
 
 
110
  if (G_CCLOSURE_SWAP_DATA (closure))
 
111
    {
 
112
      data1 = closure->data;
 
113
      data2 = g_value_peek_pointer (param_values + 0);
 
114
    }
 
115
  else
 
116
    {
 
117
      data1 = g_value_peek_pointer (param_values + 0);
 
118
      data2 = closure->data;
 
119
    }
 
120
  callback = (GMarshalFunc_VOID__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
 
121
 
 
122
  callback (data1,
 
123
            g_marshal_value_peek_string (param_values + 1),
 
124
            g_marshal_value_peek_string (param_values + 2),
 
125
            g_marshal_value_peek_string (param_values + 3),
 
126
            data2);
 
127
}
 
128
 
 
129
/* VOID:STRING,STRING,UINT64 (obexftp-marshal.list:4) */
89
130
void
90
131
obexftp_marshal_VOID__STRING_STRING_UINT64 (GClosure     *closure,
91
132
                                            GValue       *return_value G_GNUC_UNUSED,