Function nix_init_float

Source
pub unsafe extern "C" fn nix_init_float(
    context: *mut nix_c_context,
    value: *mut nix_value,
    d: f64,
) -> nix_err
Expand description

Set a float

§Arguments

  • context [out] - Optional, stores error information
  • value [out] - Nix value to modify
  • d [in] - the float, 64-bits

§Returns

error code, NIX_OK on success.