pub unsafe extern "C" fn get_list_byidx_lazy(
context: *mut c_context,
value: *const value,
state: *mut EvalState,
ix: c_uint,
) -> *mut valueExpand description
@brief Get the ix’th element of a list without forcing evaluation of the element @ingroup value_extract
Returns the list element without forcing its evaluation, allowing access to lazy values. The list value itself must already be evaluated.
Call nix_value_decref() when you’re done with the pointer @param[out] context Optional, stores error information @param[in] value Nix value to inspect (must be an evaluated list) @param[in] state nix evaluator state @param[in] ix list element to get @return value, NULL in case of errors