new

fun new(nPrealloced: <Error class: unknown class>): ValueArray

Allocate and initialize a new #GValueArray, optionally preserve space for @n_prealloced elements. New arrays always contain 0 elements, regardless of the value of @n_prealloced.

Return

a newly allocated #GValueArray with 0 values

Parameters

nPrealloced

number of values to preallocate space for