NameValueArray.sized


Description:

[ CCode ( has_construct_function = false ) ]
public NameValueArray.sized (uint reserve_size)

Creates a new NameValueArray, which has reserved reserve_size elements.

This value doesn't influence the get_length, which returns zero on the array returned from this function. The returned pointer should be freed with free when no longer needed.

Parameters:

reserve_size

an array size to reserve

Returns:

A new NameValueArray.

See: camel_name_value_array_new, camel_name_value_array_copy