home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Languages / Harvest C ƒ / MPW Int & Lib / Interfaces / SetJmp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-17  |  352 b   |  27 lines  |  [TEXT/ttxt]

  1. /*
  2.    SetJmp.h
  3.  
  4.    Copyright Apple Computer, Inc.    1986-1990
  5.    All rights reserved.
  6.  */
  7.  
  8. #ifndef __SETJMP__
  9. #define __SETJMP__
  10.  
  11.  
  12. typedef long *jmp_buf[12];        /*    D2-D7,PC,A2-A4,A6,SP  */
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. int __setjmp(jmp_buf env);
  19. #define setjmp(env) __setjmp(env)
  20. void longjmp(jmp_buf, int);
  21.  
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25.  
  26. #endif
  27.