1 2 3 4 5 6 7 8 9 10 11
extern "C" { #[link_name="_setjmp"] pub fn setjmp(env: *mut jmp_buf) -> c_int; #[link_name="__sigsetjmp"] pub fn sigsetjmp(env: *mut sigjmp_buf, savesigs: c_int) -> c_int; #[link_name="longjmp"] pub fn longjmp(env: *mut jmp_buf, val: c_int) -> !; #[link_name="siglongjmp"] pub fn siglongjmp(env: *mut sigjmp_buf, val: c_int) -> !; }