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(GValueArray* gValueArray, bool ownedRef)
  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 g_array_sized_new() instead.

Throws

ConstructionException GTK+ fails to create the object.

Meta