Skip to main content

error_free

Function error_free 

Source
pub unsafe fn error_free(err: *mut FfiError)
Expand description

The body of {prefix}_error_free: release a heap-boxed error delivered through an async completion, including the box. A null err is a no-op.

ยงSafety

err must be null or a pointer this runtime handed to a completion callback (see boxed_error), released exactly once.