williamr@2: /* williamr@2: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: williamr@2: #ifndef _SETJMP_H_ williamr@2: #define _SETJMP_H_ williamr@2: #ifdef __cplusplus williamr@2: extern "C" { williamr@2: #endif williamr@2: williamr@2: #include <_ansi.h> williamr@2: williamr@2: /** see MSVC 4.0 SETJMP.H & E32STD.H class TTrap williamr@2: */ williamr@2: #define _JBLEN 16 williamr@2: #define _JBTYPE unsigned long williamr@2: williamr@2: typedef _JBTYPE jmp_buf[_JBLEN]; williamr@2: williamr@2: IMPORT_C void longjmp(jmp_buf __jmpb, int __retval); williamr@2: IMPORT_C int setjmp(jmp_buf __jmpb); williamr@2: williamr@2: #ifdef __cplusplus williamr@2: } williamr@2: #endif williamr@2: #endif /* _SETJMP_H_ */