Function nix_alloc_value
Source pub unsafe extern "C" fn nix_alloc_value(
context: *mut nix_c_context,
state: *mut EvalState,
) -> *mut nix_value
Expand description
Allocate a Nix value
@ingroup value_create
Call nix_value_decref() when you’re done with the pointer
§Arguments
context [out] - Optional, stores error information
state [in] - nix evaluator state
§Returns
value, or null in case of errors