make_list

Function make_list 

Source
pub unsafe extern "C" fn make_list(
    context: *mut c_context,
    list_builder: *mut ListBuilder,
    value: *mut value,
) -> err
Expand description

@brief Create a list from a list builder @ingroup value_create

After this call, the list builder becomes invalid and cannot be used again. The only necessary next step is to free it with nix_list_builder_free().

@param[out] context Optional, stores error information @param[in] list_builder list builder to use @param[out] value Nix value to modify @return error code, NIX_OK on success. @see nix_list_builder_free