ValueArray.this

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.

More...
  1. this(void* ptr, Flag!"Take" take)
  2. this(uint nPrealloced)
    class ValueArray
    this

Parameters

nPrealloced uint

number of values to preallocate space for

Return Value

a newly allocated #GValueArray with 0 values

Detailed Description

Deprecated: Use #GArray and glib.array.Array.sizedNew instead.