Function dart_sys::Dart_SetReturnValue
source · pub unsafe extern "C" fn Dart_SetReturnValue(
args: Dart_NativeArguments,
retval: Dart_Handle
)
Expand description
Sets the return value for a native function.
If retval is an Error handle, then error will be propagated once the native functions exits. See Dart_PropagateError for a discussion of how different types of errors are propagated.