summaryrefslogtreecommitdiff
path: root/lib/std/sjlj.myr
blob: 57657589db536a72e4113fc6fcd625a5e8acbb18 (plain)
1
2
3
4
5
6
7
8
pkg std =
	type jmpbuf = struct
		regs	: uint64[8]
	;;

	extern const setjmp	: (jb : jmpbuf# -> bool)
	extern const longjmp	: (jb : jmpbuf# -> void)
;;