variant parsing.



Hello. Let' s assume we have GVariant of type (ia{sv}av).
It will be correct to parse it by following:
int integer;
Variant dict; /* dict must be type a{sv} */
Variant array; /* array must be type av */
g_variant_get(variant,"ivv",&integer,&dict,&array);

?


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