Re: Function completion for GVariant maybe types?
- From: Markus Elfring <Markus Elfring web de>
- To: Ryan Lortie <desrt desrt ca>
- Cc: Simon McVittie <simon mcvittie collabora co uk>, gtk-devel-list gnome org
- Subject: Re: Function completion for GVariant maybe types?
- Date: Mon, 05 Dec 2011 19:45:39 +0100
type = g_variant_get_type (gv);
How do you think about the following instructions?
GVariant* contained = g_variant_get_child_value (value, 0);
type = g_variant_get_type (contained);
Is it possible to determine the child data type without retrieving the complete
value?
Would it be useful to optimise this approach?
Regards,
Markus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]