VariantIter.init

Initialises (without allocating) a #GVariantIter. @iter may be completely uninitialised prior to this call; its old value is ignored.

The iterator remains valid for as long as @value exists, and need not be freed in any way.

class VariantIter
size_t
init

Parameters

value Variant

a container #GVariant

Return Value

Type: size_t

the number of items in @value

Meta

Since

2.24