Skip to main content

ffi_array_to_results

Function ffi_array_to_results 

Source
pub unsafe fn ffi_array_to_results(arr: &FfiResultArray) -> Vec<CheckResult>
Expand description

Creates a Vector of CheckResult from the given FfiResultArray

ยงSafety

Uses unsafe functions such as std::slice::from_raw_parts and CStr::from_ptr.