2 * This file is part of gtkD.
4 * gtkD is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * gtkD is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with gtkD; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // generated automatically - do not change
20 // find conversion definition on APILookup.txt
21 // implement new conversion functionalities on the wrap.utils pakage
24 * Conversion parameters:
43 * - g_source_set_closure
50 * - GClosure* -> Closure
51 * - GObject* -> ObjectG
57 module gobject
.CClosure
;
63 import tango
.io
.Stdout
; // use the tango loging?
67 private import gtkc
.gobjecttypes
;
69 private import gtkc
.gobject
;
72 private import gobject
.Closure
;
73 private import gobject
.ObjectG
;
74 private import gobject
.Value
;
81 * A GClosure represents a callback supplied by the programmer. It will generally
82 * comprise a function of some kind and a marshaller used to call it. It is the
83 * reponsibility of the marshaller to convert the arguments for the invocation
84 * from GValues into a suitable form, perform the callback on the
85 * converted arguments, and transform the return value back into a GValue.
86 * In the case of C programs, a closure usually just holds a pointer to a function
87 * and maybe a data argument, and the marshaller converts between GValue
88 * and native C types. The GObject library provides the GCClosure type for this
89 * purpose. Bindings for other languages need marshallers which
90 * convert between GValues and suitable representations in the runtime
91 * of the language in order to use functions written in that languages as
93 * Within GObject, closures play an important role in the implementation of
94 * signals. When a signal is registered, the c_marshaller argument to
95 * g_signal_new() specifies the default C marshaller for any closure which is
96 * connected to this signal. GObject provides a number of C marshallers
97 * for this purpose, see the g_cclosure_marshal_*() functions. Additional
98 * C marshallers can be generated with the glib-genmarshal utility.
99 * Closures can be explicitly connected to signals with
100 * g_signal_connect_closure(), but it usually more convenient to let GObject
101 * create a closure automatically by using one of the g_signal_connect_*()
102 * functions which take a callback function/user data pair.
103 * Using closures has a number of important advantages over a simple
104 * callback function/data pointer combination:
105 * Closures allow the callee to get the types of the callback parameters,
106 * which means that language bindings don't have to write individual glue
107 * for each callback type.
108 * The reference counting of GClosure makes it easy to handle reentrancy
109 * right; if a callback is removed while it is being invoked, the closure
110 * and it's parameters won't be freed until the invocation finishes.
111 * g_closure_invalidate() and invalidation notifiers allow callbacks to be
112 * automatically removed when the objects they point to go away.
114 public class CClosure
117 /** the main Gtk struct */
118 protected GCClosure
* gCClosure
;
121 public GCClosure
* getCClosureStruct()
127 /** the main Gtk struct as a void* */
128 protected void* getStruct()
130 return cast(void*)gCClosure
;
134 * Sets our main struct and passes it to the parent class
136 public this (GCClosure
* gCClosure
)
140 if ( gCClosure
is null )
145 Stdout("struct gCClosure is null on constructor").newline
;
149 printf("struct gCClosure is null on constructor");
156 assert(gCClosure
!is null, "struct gCClosure is null on constructor");
158 this.gCClosure
= gCClosure
;
175 * Creates a new closure which invokes callback_func with user_data as
176 * the last parameter.
178 * the function to invoke
180 * user data to pass to callback_func
182 * destroy notify to be called when user_data is no longer used
186 public static Closure
_New(GCallback callbackFunc
, void* userData
, GClosureNotify destroyData
)
188 // GClosure* g_cclosure_new (GCallback callback_func, gpointer user_data, GClosureNotify destroy_data);
189 return new Closure( g_cclosure_new(callbackFunc
, userData
, destroyData
) );
193 * Creates a new closure which invokes callback_func with user_data as
194 * the first parameter.
196 * the function to invoke
198 * user data to pass to callback_func
200 * destroy notify to be called when user_data is no longer used
204 public static Closure
_NewSwap(GCallback callbackFunc
, void* userData
, GClosureNotify destroyData
)
206 // GClosure* g_cclosure_new_swap (GCallback callback_func, gpointer user_data, GClosureNotify destroy_data);
207 return new Closure( g_cclosure_new_swap(callbackFunc
, userData
, destroyData
) );
211 * A variant of g_cclosure_new() which uses object as user_data and calls
212 * g_object_watch_closure() on object and the created closure. This function
213 * is useful when you have a callback closely associated with a GObject,
214 * and want the callback to no longer run after the object is is freed.
216 * the function to invoke
218 * a GObject pointer to pass to callback_func
222 public static Closure
_NewObject(GCallback callbackFunc
, ObjectG object
)
224 // GClosure* g_cclosure_new_object (GCallback callback_func, GObject *object);
225 return new Closure( g_cclosure_new_object(callbackFunc
, (object
is null) ?
null : object
.getObjectGStruct()) );
229 * A variant of g_cclosure_new_swap() which uses object as user_data and calls
230 * g_object_watch_closure() on object and the created closure. This function
231 * is useful when you have a callback closely associated with a GObject,
232 * and want the callback to no longer run after the object is is freed.
234 * the function to invoke
236 * a GObject pointer to pass to callback_func
240 public static Closure
_NewObjectSwap(GCallback callbackFunc
, ObjectG object
)
242 // GClosure* g_cclosure_new_object_swap (GCallback callback_func, GObject *object);
243 return new Closure( g_cclosure_new_object_swap(callbackFunc
, (object
is null) ?
null : object
.getObjectGStruct()) );
264 * A marshaller for a GCClosure with a callback of type
265 * void (*callback) (gpointer instance, gpointer user_data).
267 * the GClosure to which the marshaller belongs
273 * a GValue array holding only the instance
275 * the invocation hint given as the the last argument
276 * to g_closure_invoke()
278 * additional data specified when registering the marshaller
280 public static void _MarshalVOID__VOID(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
282 // void g_cclosure_marshal_VOID__VOID (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
283 g_cclosure_marshal_VOID__VOID((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
287 * A marshaller for a GCClosure with a callback of type
288 * void (*callback) (gpointer instance, gboolean arg1, gpointer user_data).
290 * the GClosure to which the marshaller belongs
296 * a GValue array holding the instance and the gboolean parameter
298 * the invocation hint given as the the last argument
299 * to g_closure_invoke()
301 * additional data specified when registering the marshaller
303 public static void _MarshalVOID__BOOLEAN(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
305 // void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
306 g_cclosure_marshal_VOID__BOOLEAN((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
310 * A marshaller for a GCClosure with a callback of type
311 * void (*callback) (gpointer instance, gchar arg1, gpointer user_data).
313 * the GClosure to which the marshaller belongs
319 * a GValue array holding the instance and the gchar parameter
321 * the invocation hint given as the the last argument
322 * to g_closure_invoke()
324 * additional data specified when registering the marshaller
326 public static void _MarshalVOID__CHAR(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
328 // void g_cclosure_marshal_VOID__CHAR (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
329 g_cclosure_marshal_VOID__CHAR((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
333 * A marshaller for a GCClosure with a callback of type
334 * void (*callback) (gpointer instance, guchar arg1, gpointer user_data).
336 * the GClosure to which the marshaller belongs
342 * a GValue array holding the instance and the guchar parameter
344 * the invocation hint given as the the last argument
345 * to g_closure_invoke()
347 * additional data specified when registering the marshaller
349 public static void _MarshalVOID__UCHAR(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
351 // void g_cclosure_marshal_VOID__UCHAR (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
352 g_cclosure_marshal_VOID__UCHAR((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
356 * A marshaller for a GCClosure with a callback of type
357 * void (*callback) (gpointer instance, gint arg1, gpointer user_data).
359 * the GClosure to which the marshaller belongs
365 * a GValue array holding the instance and the gint parameter
367 * the invocation hint given as the the last argument
368 * to g_closure_invoke()
370 * additional data specified when registering the marshaller
372 public static void _MarshalVOID__INT(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
374 // void g_cclosure_marshal_VOID__INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
375 g_cclosure_marshal_VOID__INT((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
379 * A marshaller for a GCClosure with a callback of type
380 * void (*callback) (gpointer instance, guint arg1, gpointer user_data).
382 * the GClosure to which the marshaller belongs
388 * a GValue array holding the instance and the guint parameter
390 * the invocation hint given as the the last argument
391 * to g_closure_invoke()
393 * additional data specified when registering the marshaller
395 public static void _MarshalVOID__UINT(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
397 // void g_cclosure_marshal_VOID__UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
398 g_cclosure_marshal_VOID__UINT((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
402 * A marshaller for a GCClosure with a callback of type
403 * void (*callback) (gpointer instance, glong arg1, gpointer user_data).
405 * the GClosure to which the marshaller belongs
411 * a GValue array holding the instance and the glong parameter
413 * the invocation hint given as the the last argument
414 * to g_closure_invoke()
416 * additional data specified when registering the marshaller
418 public static void _MarshalVOID__LONG(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
420 // void g_cclosure_marshal_VOID__LONG (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
421 g_cclosure_marshal_VOID__LONG((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
425 * A marshaller for a GCClosure with a callback of type
426 * void (*callback) (gpointer instance, gulong arg1, gpointer user_data).
428 * the GClosure to which the marshaller belongs
434 * a GValue array holding the instance and the gulong parameter
436 * the invocation hint given as the the last argument
437 * to g_closure_invoke()
439 * additional data specified when registering the marshaller
441 public static void _MarshalVOID__ULONG(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
443 // void g_cclosure_marshal_VOID__ULONG (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
444 g_cclosure_marshal_VOID__ULONG((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
448 * A marshaller for a GCClosure with a callback of type
449 * void (*callback) (gpointer instance, gint arg1, gpointer user_data) where the gint parameter denotes an enumeration type..
451 * the GClosure to which the marshaller belongs
457 * a GValue array holding the instance and the enumeration parameter
459 * the invocation hint given as the the last argument
460 * to g_closure_invoke()
462 * additional data specified when registering the marshaller
464 public static void _MarshalVOID__ENUM(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
466 // void g_cclosure_marshal_VOID__ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
467 g_cclosure_marshal_VOID__ENUM((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
471 * A marshaller for a GCClosure with a callback of type
472 * void (*callback) (gpointer instance, gint arg1, gpointer user_data) where the gint parameter denotes a flags type
473 * denotes a flags type.
475 * the GClosure to which the marshaller belongs
481 * a GValue array holding the instance and the flags parameter
483 * the invocation hint given as the the last argument
484 * to g_closure_invoke()
486 * additional data specified when registering the marshaller
488 public static void _MarshalVOID__FLAGS(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
490 // void g_cclosure_marshal_VOID__FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
491 g_cclosure_marshal_VOID__FLAGS((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
495 * A marshaller for a GCClosure with a callback of type
496 * void (*callback) (gpointer instance, gfloat arg1, gpointer user_data).
498 * the GClosure to which the marshaller belongs
504 * a GValue array holding the instance and the gfloat parameter
506 * the invocation hint given as the the last argument
507 * to g_closure_invoke()
509 * additional data specified when registering the marshaller
511 public static void _MarshalVOID__FLOAT(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
513 // void g_cclosure_marshal_VOID__FLOAT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
514 g_cclosure_marshal_VOID__FLOAT((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
518 * A marshaller for a GCClosure with a callback of type
519 * void (*callback) (gpointer instance, gdouble arg1, gpointer user_data).
521 * the GClosure to which the marshaller belongs
527 * a GValue array holding the instance and the gdouble parameter
529 * the invocation hint given as the the last argument
530 * to g_closure_invoke()
532 * additional data specified when registering the marshaller
534 public static void _MarshalVOID__DOUBLE(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
536 // void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
537 g_cclosure_marshal_VOID__DOUBLE((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
541 * A marshaller for a GCClosure with a callback of type
542 * void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data).
544 * the GClosure to which the marshaller belongs
550 * a GValue array holding the instance and the gchar* parameter
552 * the invocation hint given as the the last argument
553 * to g_closure_invoke()
555 * additional data specified when registering the marshaller
557 public static void _MarshalVOID__STRING(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
559 // void g_cclosure_marshal_VOID__STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
560 g_cclosure_marshal_VOID__STRING((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
564 * A marshaller for a GCClosure with a callback of type
565 * void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data).
567 * the GClosure to which the marshaller belongs
573 * a GValue array holding the instance and the GParamSpec* parameter
575 * the invocation hint given as the the last argument
576 * to g_closure_invoke()
578 * additional data specified when registering the marshaller
580 public static void _MarshalVOID__PARAM(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
582 // void g_cclosure_marshal_VOID__PARAM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
583 g_cclosure_marshal_VOID__PARAM((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
587 * A marshaller for a GCClosure with a callback of type
588 * void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data).
590 * the GClosure to which the marshaller belongs
596 * a GValue array holding the instance and the GBoxed* parameter
598 * the invocation hint given as the the last argument
599 * to g_closure_invoke()
601 * additional data specified when registering the marshaller
603 public static void _MarshalVOID__BOXED(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
605 // void g_cclosure_marshal_VOID__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
606 g_cclosure_marshal_VOID__BOXED((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
610 * A marshaller for a GCClosure with a callback of type
611 * void (*callback) (gpointer instance, gpointer arg1, gpointer user_data).
613 * the GClosure to which the marshaller belongs
619 * a GValue array holding the instance and the gpointer parameter
621 * the invocation hint given as the the last argument
622 * to g_closure_invoke()
624 * additional data specified when registering the marshaller
626 public static void _MarshalVOID__POINTER(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
628 // void g_cclosure_marshal_VOID__POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
629 g_cclosure_marshal_VOID__POINTER((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
633 * A marshaller for a GCClosure with a callback of type
634 * void (*callback) (gpointer instance, GOBject *arg1, gpointer user_data).
636 * the GClosure to which the marshaller belongs
642 * a GValue array holding the instance and the GObject* parameter
644 * the invocation hint given as the the last argument
645 * to g_closure_invoke()
647 * additional data specified when registering the marshaller
649 public static void _MarshalVOID__OBJECT(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
651 // void g_cclosure_marshal_VOID__OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
652 g_cclosure_marshal_VOID__OBJECT((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
656 * A marshaller for a GCClosure with a callback of type
657 * void (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data).
659 * the GClosure to which the marshaller belongs
665 * a GValue array holding instance, arg1 and arg2
667 * the invocation hint given as the the last argument
668 * to g_closure_invoke()
670 * additional data specified when registering the marshaller
672 public static void _MarshalSTRING__OBJECT_POINTER(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
674 // void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
675 g_cclosure_marshal_STRING__OBJECT_POINTER((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
679 * A marshaller for a GCClosure with a callback of type
680 * void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data).
682 * the GClosure to which the marshaller belongs
688 * a GValue array holding instance, arg1 and arg2
690 * the invocation hint given as the the last argument
691 * to g_closure_invoke()
693 * additional data specified when registering the marshaller
695 public static void _MarshalVOID__UINT_POINTER(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
697 // void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
698 g_cclosure_marshal_VOID__UINT_POINTER((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);
702 * A marshaller for a GCClosure with a callback of type
703 * gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data) where the gint parameter
704 * denotes a flags type.
706 * the GClosure to which the marshaller belongs
708 * a GValue which can store the returned gboolean
712 * a GValue array holding instance and arg1
714 * the invocation hint given as the the last argument
715 * to g_closure_invoke()
717 * additional data specified when registering the marshaller
719 public static void _MarshalBOOLEAN__FLAGS(Closure closure
, Value returnValue
, uint nParamValues
, Value paramValues
, void* invocationHint
, void* marshalData
)
721 // void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
722 g_cclosure_marshal_BOOLEAN__FLAGS((closure
is null) ?
null : closure
.getClosureStruct(), (returnValue
is null) ?
null : returnValue
.getValueStruct(), nParamValues
, (paramValues
is null) ?
null : paramValues
.getValueStruct(), invocationHint
, marshalData
);