home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / System / MorphOS / Developer / emulinclude / includestd / setjmp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-02  |  301 b   |  21 lines

  1. #ifndef _SETJMP_H
  2. #define _SETJMP_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. #define _JBLEN 59 /* r1,r13-r31,cr,lr,f14-f31,r2 */
  9.  
  10. typedef int jmp_buf[_JBLEN] __attribute__((aligned(8)));
  11.  
  12. int setjmp(jmp_buf);
  13. void longjmp(jmp_buf, int) __attribute__((noreturn));
  14.  
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18.  
  19. #endif
  20.  
  21.