Philip Withnall 2b8edf234c gvariant: Document the need to cast varargs when constructing GVariants
Slightly expand on the documentation about casting varargs when
constructing GVariants, and link to it from all the functions where it’s
a necessary consideration.

Add an example of passing flags to a ‘t’ type variable (guint64).
Assuming the flags enum does not have many members, the flag variable
will be 32 bits wide, and needs an explicit cast to be passed into
g_variant_new() as a 64-bit value.

https://bugzilla.gnome.org/show_bug.cgi?id=712837
2014-02-05 09:40:49 +00:00
..
2012-04-23 02:46:18 +01:00
2012-06-25 23:23:58 -04:00
2014-02-04 11:56:06 +00:00
2012-08-03 23:36:45 -04:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2012-09-14 19:40:24 -04:00
2014-01-02 01:40:26 +02:00
2002-11-23 01:37:17 +00:00