00001 00006 /* 00007 * The contents of this file are subject to the Mozilla Public License 00008 * Version 1.0 (the "License"); you may not use this file except in 00009 * compliance with the License. You may obtain a copy of the License 00010 * at http://www.mozilla.org/MPL/ 00011 * 00012 * Software distributed under the License is distributed on an "AS IS" 00013 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 00014 * the License for the specific language governing rights and 00015 * limitations under the License. 00016 * 00017 */ 00018 00019 #ifndef __setjmp_h__ 00020 #define __setjmp_h__ 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 #include <config.h> 00027 00028 #ifdef CONF_SETJMP 00029 00030 /*----[ Data type definitions ]-----------------------------------------*/ 00031 00033 00048 typedef int jmp_buf[6]; 00049 00050 00051 /*----[ Function prototypes ]-------------------------------------------*/ 00052 00054 00062 extern int setjmp(jmp_buf env); 00063 00065 00070 extern void longjmp(jmp_buf env, int val); 00071 00072 #endif // CONF_SETJMP 00073 00074 #ifdef __cplusplus 00075 } 00076 #endif 00077 00078 #endif // __setjmp_h__
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |