| 1 |
// SPDX-License-Identifier: MPL-2.0 |
| 2 |
// (c) Hare authors <https://harelang.org> |
| 3 |
|
| 4 |
export type jmp_buf = struct { |
| 5 |
__jb: arch_jmp_buf, |
| 6 |
__fl: size, |
| 7 |
__ss: [128 / size(size)]size, |
| 8 |
}; |
| 9 |
|
| 10 |
export fn setjmp(buf: *jmp_buf) int; |
| 11 |
|
| 12 |
export fn longjmp(buf: *jmp_buf, n: int) never; |