Function nix_bindings_builder_insert

Source
pub unsafe extern "C" fn nix_bindings_builder_insert(
    context: *mut nix_c_context,
    builder: *mut BindingsBuilder,
    name: *const c_char,
    value: *mut nix_value,
) -> nix_err
Expand description

Insert bindings into a builder

§Arguments

  • context [out] - Optional, stores error information
  • builder [in] - BindingsBuilder to insert into
  • name [in] - attribute name, only used for the duration of the call.
  • value [in] - value to give the binding

§Returns

error code, NIX_OK on success.