Function nix_get_typename

Source
pub unsafe extern "C" fn nix_get_typename(
    context: *mut nix_c_context,
    value: *const nix_value,
) -> *const c_char
Expand description

Get type name of value as defined in the evaluator

§Arguments

  • context [out] - Optional, stores error information
  • value [in] - Nix value to inspect

§Returns

type name, owned string @todo way to free the result