NamedFlags.sized


Description:

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

Created a new NamedFlags, which has reserved reserve_size elements.

This value doesn't influence the get_length, which returns zero on the array returned from this function.

Parameters:

reserve_size

an array size to reserve

Returns:

A newly allocated NameValueArray. Free it with free when done with it.

See: camel_name_value_array_new, camel_name_value_array_copy




2022 vala-language.org