get_list_byidx

Function get_list_byidx 

Source
pub unsafe extern "C" fn get_list_byidx(
    context: *mut c_context,
    value: *const value,
    state: *mut EvalState,
    ix: c_uint,
) -> *mut value
Expand description

@brief Get the ix’th element of a list @ingroup value_extract

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 @param[in] state nix evaluator state @param[in] ix list element to get @return value, NULL in case of errors