Re: Function completion for GVariant maybe types?

   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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]