Array.sized
Description:
[ CCode ( cname = "json_array_sized_new" , has_construct_function = false ) ]
public Array.sized (uint n_elements)
public Array.sized (uint n_elements)
Creates a new array with `n_elements` slots already allocated.
Parameters:
n_elements |
number of slots to pre-allocate |
Returns:
the newly created array |