/***************************************************************** * * Copyright (c) 1996 Sony Computer Entertainment Inc. * All Rights Reserved. * * Ver 1.00 * *****************************************************************/ #ifndef _SETJMP_H #define _SETJMP_H /* jmp_buf indices */ #define JB_PC 0 #define JB_SP 1 #define JB_FP 2 #define JB_S0 3 #define JB_S1 4 #define JB_S2 5 #define JB_S3 6 #define JB_S4 7 #define JB_S5 8 #define JB_S6 9 #define JB_S7 10 #define JB_GP 11 #define JB_SIZE 12 #if defined(LANGUAGE_C)||defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) typedef int jmp_buf[JB_SIZE]; #if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) extern "C" { #endif extern int setjmp(jmp_buf); extern void longjmp(jmp_buf, int); #if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) } #endif #endif #endif /* _SETJMP_H */