ValueArray


Description:

public ValueArray (uint n_prealloced)

Allocate and initialize a new ValueArray, optionally preserve space for n_prealloced elements.

Note:

Use Array and Array.sized instead.

New arrays always contain 0 elements, regardless of the value of n_prealloced.

Parameters:

n_prealloced

number of values to preallocate space for

Returns:

a newly allocated ValueArray with 0 values




2022 vala-language.org