newFixedArray

fun newFixedArray(elementType: VariantType, elements: <Error class: unknown class>? = null, nElements: <Error class: unknown class>, elementSize: <Error class: unknown class>): Variant

Constructs a new array #GVariant instance, where the elements are of @element_type type.

Return

a floating reference to a new array #GVariant instance

Since

2.32

Parameters

elementType

the #GVariantType of each element

elements

a pointer to the fixed array of contiguous elements

nElements

the number of elements

elementSize

the size of each element