litex/software/include/base/setjmp.h

20 lines
243 B
C
Raw Normal View History

2012-05-25 16:28:38 -04:00
#ifndef __SETJMP_H
#define __SETJMP_H
#ifdef __cplusplus
extern "C" {
#endif
2012-05-25 16:28:38 -04:00
#define _JBLEN 19
typedef int jmp_buf[_JBLEN];
int setjmp(jmp_buf env);
void longjmp(jmp_buf env, int val);
#ifdef __cplusplus
}
#endif
2012-05-25 16:28:38 -04:00
#endif /* __SETJMP_H */