make_attrs

Function make_attrs 

Source
pub unsafe extern "C" fn make_attrs(
    context: *mut c_context,
    value: *mut value,
    b: *mut BindingsBuilder,
) -> err
Expand description

@brief Create an attribute set from a bindings builder @ingroup value_create

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

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