Variant.getFixedArray

Provides access to the serialised data for an array of fixed-sized items. value must be an array with fixed-sized elements. Numeric types are fixed-size, as are tuples containing only other fixed-sized types. element_size must be the size of a single element in the array, as given by the section on Serialised Data Memory. In particular, arrays of these fixed-sized types can be interpreted as an array of the given C type, with element_size set to Since 2.24

class Variant
void*
getFixedArray

Parameters

nElements gsize*

a pointer to the location to store the number of items. out

elementSize gsize

the size of each element

Return Value

Type: void*

a pointer to the fixed array. [array length=n_elements][transfer none]

Meta