Function nix_make_attrs

Source
pub unsafe extern "C" fn nix_make_attrs(
    context: *mut nix_c_context,
    value: *mut nix_value,
    b: *mut BindingsBuilder,
) -> nix_err
Expand description

Create an attribute set from a bindings builder

§Arguments

  • context [out] - Optional, stores error information
  • value [out] - Nix value to modify
  • b [in] - bindings builder to use. Make sure to unref this afterwards.

§Returns

error code, NIX_OK on success.