Fix name for ForcedUnwind

This commit is contained in:
Gary Guo 2022-09-12 21:43:53 +01:00
parent fe407b61e1
commit 9217c76d3d
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ binding! {
extern "C-unwind" fn _Unwind_RaiseException( extern "C-unwind" fn _Unwind_RaiseException(
exception: &mut UnwindException, exception: &mut UnwindException,
) -> UnwindReasonCode; ) -> UnwindReasonCode;
extern "C-unwind" fn _Unwind_ForceUnwind( extern "C-unwind" fn _Unwind_ForcedUnwind(
exception: &mut UnwindException, exception: &mut UnwindException,
stop: UnwindStopFn, stop: UnwindStopFn,
stop_arg: *mut c_void, stop_arg: *mut c_void,

View File

@ -217,7 +217,7 @@ fn raise_exception_phase2(
#[inline(never)] #[inline(never)]
#[no_mangle] #[no_mangle]
pub extern "C-unwind" fn _Unwind_ForceUnwind( pub extern "C-unwind" fn _Unwind_ForcedUnwind(
exception: &mut UnwindException, exception: &mut UnwindException,
stop: UnwindStopFn, stop: UnwindStopFn,
stop_arg: *mut c_void, stop_arg: *mut c_void,