Function nix_init_external

Source
pub unsafe extern "C" fn nix_init_external(
    context: *mut nix_c_context,
    value: *mut nix_value,
    val: *mut ExternalValue,
) -> nix_err
Expand description

Set an external value

§Arguments

  • context [out] - Optional, stores error information
  • value [out] - Nix value to modify
  • val [in] - the external value to set. Will be GC-referenced by the value.

§Returns

error code, NIX_OK on success.