2012-05-25 16:28:38 -04:00
|
|
|
#ifndef __SETJMP_H
|
|
|
|
#define __SETJMP_H
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#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);
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2012-05-25 16:28:38 -04:00
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#endif /* __SETJMP_H */
|