1 /* GObject - GLib Type, Object, Parameter and Signal Library
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
17 #ifndef __G_MARSHAL_H__
18 #define __G_MARSHAL_H__
23 GOBJECT_AVAILABLE_IN_ALL
24 void g_cclosure_marshal_VOID__VOID (GClosure *closure,
27 const GValue *param_values,
28 gpointer invocation_hint,
29 gpointer marshal_data);
30 GOBJECT_AVAILABLE_IN_ALL
31 void g_cclosure_marshal_VOID__VOIDv (GClosure *closure,
35 gpointer marshal_data,
40 GOBJECT_AVAILABLE_IN_ALL
41 void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
44 const GValue *param_values,
45 gpointer invocation_hint,
46 gpointer marshal_data);
47 GOBJECT_AVAILABLE_IN_ALL
48 void g_cclosure_marshal_VOID__BOOLEANv (GClosure *closure,
52 gpointer marshal_data,
57 GOBJECT_AVAILABLE_IN_ALL
58 void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
61 const GValue *param_values,
62 gpointer invocation_hint,
63 gpointer marshal_data);
64 GOBJECT_AVAILABLE_IN_ALL
65 void g_cclosure_marshal_VOID__CHARv (GClosure *closure,
69 gpointer marshal_data,
74 GOBJECT_AVAILABLE_IN_ALL
75 void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
78 const GValue *param_values,
79 gpointer invocation_hint,
80 gpointer marshal_data);
81 GOBJECT_AVAILABLE_IN_ALL
82 void g_cclosure_marshal_VOID__UCHARv (GClosure *closure,
86 gpointer marshal_data,
91 GOBJECT_AVAILABLE_IN_ALL
92 void g_cclosure_marshal_VOID__INT (GClosure *closure,
95 const GValue *param_values,
96 gpointer invocation_hint,
97 gpointer marshal_data);
98 GOBJECT_AVAILABLE_IN_ALL
99 void g_cclosure_marshal_VOID__INTv (GClosure *closure,
100 GValue *return_value,
103 gpointer marshal_data,
108 GOBJECT_AVAILABLE_IN_ALL
109 void g_cclosure_marshal_VOID__UINT (GClosure *closure,
110 GValue *return_value,
111 guint n_param_values,
112 const GValue *param_values,
113 gpointer invocation_hint,
114 gpointer marshal_data);
115 GOBJECT_AVAILABLE_IN_ALL
116 void g_cclosure_marshal_VOID__UINTv (GClosure *closure,
117 GValue *return_value,
120 gpointer marshal_data,
125 GOBJECT_AVAILABLE_IN_ALL
126 void g_cclosure_marshal_VOID__LONG (GClosure *closure,
127 GValue *return_value,
128 guint n_param_values,
129 const GValue *param_values,
130 gpointer invocation_hint,
131 gpointer marshal_data);
132 GOBJECT_AVAILABLE_IN_ALL
133 void g_cclosure_marshal_VOID__LONGv (GClosure *closure,
134 GValue *return_value,
137 gpointer marshal_data,
142 GOBJECT_AVAILABLE_IN_ALL
143 void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
144 GValue *return_value,
145 guint n_param_values,
146 const GValue *param_values,
147 gpointer invocation_hint,
148 gpointer marshal_data);
149 GOBJECT_AVAILABLE_IN_ALL
150 void g_cclosure_marshal_VOID__ULONGv (GClosure *closure,
151 GValue *return_value,
154 gpointer marshal_data,
159 GOBJECT_AVAILABLE_IN_ALL
160 void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
161 GValue *return_value,
162 guint n_param_values,
163 const GValue *param_values,
164 gpointer invocation_hint,
165 gpointer marshal_data);
166 GOBJECT_AVAILABLE_IN_ALL
167 void g_cclosure_marshal_VOID__ENUMv (GClosure *closure,
168 GValue *return_value,
171 gpointer marshal_data,
176 GOBJECT_AVAILABLE_IN_ALL
177 void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
178 GValue *return_value,
179 guint n_param_values,
180 const GValue *param_values,
181 gpointer invocation_hint,
182 gpointer marshal_data);
183 GOBJECT_AVAILABLE_IN_ALL
184 void g_cclosure_marshal_VOID__FLAGSv (GClosure *closure,
185 GValue *return_value,
188 gpointer marshal_data,
193 GOBJECT_AVAILABLE_IN_ALL
194 void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
195 GValue *return_value,
196 guint n_param_values,
197 const GValue *param_values,
198 gpointer invocation_hint,
199 gpointer marshal_data);
200 GOBJECT_AVAILABLE_IN_ALL
201 void g_cclosure_marshal_VOID__FLOATv (GClosure *closure,
202 GValue *return_value,
205 gpointer marshal_data,
210 GOBJECT_AVAILABLE_IN_ALL
211 void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
212 GValue *return_value,
213 guint n_param_values,
214 const GValue *param_values,
215 gpointer invocation_hint,
216 gpointer marshal_data);
217 GOBJECT_AVAILABLE_IN_ALL
218 void g_cclosure_marshal_VOID__DOUBLEv (GClosure *closure,
219 GValue *return_value,
222 gpointer marshal_data,
227 GOBJECT_AVAILABLE_IN_ALL
228 void g_cclosure_marshal_VOID__STRING (GClosure *closure,
229 GValue *return_value,
230 guint n_param_values,
231 const GValue *param_values,
232 gpointer invocation_hint,
233 gpointer marshal_data);
234 GOBJECT_AVAILABLE_IN_ALL
235 void g_cclosure_marshal_VOID__STRINGv (GClosure *closure,
236 GValue *return_value,
239 gpointer marshal_data,
244 GOBJECT_AVAILABLE_IN_ALL
245 void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
246 GValue *return_value,
247 guint n_param_values,
248 const GValue *param_values,
249 gpointer invocation_hint,
250 gpointer marshal_data);
251 GOBJECT_AVAILABLE_IN_ALL
252 void g_cclosure_marshal_VOID__PARAMv (GClosure *closure,
253 GValue *return_value,
256 gpointer marshal_data,
261 GOBJECT_AVAILABLE_IN_ALL
262 void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
263 GValue *return_value,
264 guint n_param_values,
265 const GValue *param_values,
266 gpointer invocation_hint,
267 gpointer marshal_data);
268 GOBJECT_AVAILABLE_IN_ALL
269 void g_cclosure_marshal_VOID__BOXEDv (GClosure *closure,
270 GValue *return_value,
273 gpointer marshal_data,
278 GOBJECT_AVAILABLE_IN_ALL
279 void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
280 GValue *return_value,
281 guint n_param_values,
282 const GValue *param_values,
283 gpointer invocation_hint,
284 gpointer marshal_data);
285 GOBJECT_AVAILABLE_IN_ALL
286 void g_cclosure_marshal_VOID__POINTERv (GClosure *closure,
287 GValue *return_value,
290 gpointer marshal_data,
295 GOBJECT_AVAILABLE_IN_ALL
296 void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
297 GValue *return_value,
298 guint n_param_values,
299 const GValue *param_values,
300 gpointer invocation_hint,
301 gpointer marshal_data);
302 GOBJECT_AVAILABLE_IN_ALL
303 void g_cclosure_marshal_VOID__OBJECTv (GClosure *closure,
304 GValue *return_value,
307 gpointer marshal_data,
312 GOBJECT_AVAILABLE_IN_ALL
313 void g_cclosure_marshal_VOID__VARIANT (GClosure *closure,
314 GValue *return_value,
315 guint n_param_values,
316 const GValue *param_values,
317 gpointer invocation_hint,
318 gpointer marshal_data);
319 GOBJECT_AVAILABLE_IN_ALL
320 void g_cclosure_marshal_VOID__VARIANTv (GClosure *closure,
321 GValue *return_value,
324 gpointer marshal_data,
328 /* VOID:UINT,POINTER */
329 GOBJECT_AVAILABLE_IN_ALL
330 void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
331 GValue *return_value,
332 guint n_param_values,
333 const GValue *param_values,
334 gpointer invocation_hint,
335 gpointer marshal_data);
336 GOBJECT_AVAILABLE_IN_ALL
337 void g_cclosure_marshal_VOID__UINT_POINTERv (GClosure *closure,
338 GValue *return_value,
341 gpointer marshal_data,
346 GOBJECT_AVAILABLE_IN_ALL
347 void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
348 GValue *return_value,
349 guint n_param_values,
350 const GValue *param_values,
351 gpointer invocation_hint,
352 gpointer marshal_data);
353 GOBJECT_AVAILABLE_IN_ALL
354 void g_cclosure_marshal_BOOLEAN__FLAGSv (GClosure *closure,
355 GValue *return_value,
358 gpointer marshal_data,
363 * g_cclosure_marshal_BOOL__FLAGS:
364 * @closure: A #GClosure.
365 * @return_value: A #GValue to store the return value. May be %NULL
366 * if the callback of closure doesn't return a value.
367 * @n_param_values: The length of the @param_values array.
368 * @param_values: An array of #GValues holding the arguments
369 * on which to invoke the callback of closure.
370 * @invocation_hint: The invocation hint given as the last argument to
371 * g_closure_invoke().
372 * @marshal_data: Additional data specified when registering the
373 * marshaller, see g_closure_set_marshal() and
374 * g_closure_set_meta_marshal()
376 * An old alias for g_cclosure_marshal_BOOLEAN__FLAGS().
378 #define g_cclosure_marshal_BOOL__FLAGS g_cclosure_marshal_BOOLEAN__FLAGS
380 /* STRING:OBJECT,POINTER */
381 GOBJECT_AVAILABLE_IN_ALL
382 void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
383 GValue *return_value,
384 guint n_param_values,
385 const GValue *param_values,
386 gpointer invocation_hint,
387 gpointer marshal_data);
388 GOBJECT_AVAILABLE_IN_ALL
389 void g_cclosure_marshal_STRING__OBJECT_POINTERv (GClosure *closure,
390 GValue *return_value,
393 gpointer marshal_data,
397 /* BOOL:BOXED,BOXED */
398 GOBJECT_AVAILABLE_IN_ALL
399 void g_cclosure_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure,
400 GValue *return_value,
401 guint n_param_values,
402 const GValue *param_values,
403 gpointer invocation_hint,
404 gpointer marshal_data);
405 GOBJECT_AVAILABLE_IN_ALL
406 void g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv (GClosure *closure,
407 GValue *return_value,
410 gpointer marshal_data,
415 * g_cclosure_marshal_BOOL__BOXED_BOXED:
416 * @closure: A #GClosure.
417 * @return_value: A #GValue to store the return value. May be %NULL
418 * if the callback of closure doesn't return a value.
419 * @n_param_values: The length of the @param_values array.
420 * @param_values: An array of #GValues holding the arguments
421 * on which to invoke the callback of closure.
422 * @invocation_hint: The invocation hint given as the last argument to
423 * g_closure_invoke().
424 * @marshal_data: Additional data specified when registering the
425 * marshaller, see g_closure_set_marshal() and
426 * g_closure_set_meta_marshal()
428 * An old alias for g_cclosure_marshal_BOOLEAN__BOXED_BOXED().
430 #define g_cclosure_marshal_BOOL__BOXED_BOXED g_cclosure_marshal_BOOLEAN__BOXED_BOXED
434 #endif /* __G_MARSHAL_H__ */