hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

jmp.ha (262B)


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