// automatically generated by m4 from headers in proto subdir #ifndef __SETJMP_H__ #define __SETJMP_H__ #define setjmp(env) l_setjmp(&(env)) #define longjmp(env, val) l_longjmp(&(env), val) #ifdef __CLANG typedef struct { void *ix; void *iy; void *sp; void *pc; } jmp_buf; #endif #ifdef __SDCC typedef struct { void *ix; void *iy; void *sp; void *pc; } jmp_buf; #endif #ifdef __SCCZ80 typedef struct { void *sp; void *pc; } jmp_buf; #endif // must not use callee or fastcall linkage extern int l_setjmp(jmp_buf *env); extern void l_longjmp(jmp_buf *env,int val); #endif