19 lines
299 B
C
Raw Normal View History

2024-11-15 11:14:08 +02:00
#ifndef _YGGDRASIL_SETJMP_H
#define _YGGDRASIL_SETJMP_H 1
#if defined(__cplusplus)
extern "C" {
#endif
2024-11-19 15:05:15 +02:00
int setjmp(jmp_buf buf);
int _setjmp(jmp_buf buf);
2024-11-15 11:14:08 +02:00
2024-11-19 15:05:15 +02:00
[[noreturn]] void longjmp(jmp_buf buf, int val);
[[noreturn]] void _longjmp(jmp_buf buf, int val);
2024-11-15 11:14:08 +02:00
#if defined(__cplusplus)
}
#endif
2024-11-15 11:14:08 +02:00
#endif