Skip to main content

error_store

Function error_store 

Source
pub unsafe fn error_store(out_err: *mut FfiError, value: FfiError)
Expand description

Move value into the caller’s out_err slot, releasing anything it held before. A null out_err drops value.

§Safety

Same contract as error_set.