Spectrum.sized_new


Description:

[ CCode ( cname = "cd_spectrum_sized_new" , has_construct_function = false ) ]
[ Version ( since = "1.1.6" ) ]
public Spectrum.sized_new (uint reserved_size)

Allocates a spectrum with a preallocated size.

Parameters:

reserved_size

the future size of the spectrum

Returns:

A newly allocated Spectrum object