ValueArray.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(uint nPrealloced)

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.

Parameters

nPreallocednumber of values to preallocate space for

Returns

a newly allocated #GValueArray with 0 values

Deprecated

Use #GArray and [glib.array.Array.sizedNew] instead.