os/ossrv/genericopenlibs/cstdlib/LINC/SETJMP.H
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 
    20 /**
    21  @file
    22  @publishedAll
    23  @released
    24 */
    25 
    26 #ifndef _SETJMP_H_
    27 #define _SETJMP_H_
    28 #ifdef __cplusplus
    29 extern "C" {
    30 #endif
    31 
    32 #include <_ansi.h>
    33 
    34 /** see MSVC 4.0 SETJMP.H & E32STD.H class TTrap
    35  */
    36 #define _JBLEN	16		
    37 #define _JBTYPE	unsigned long
    38 
    39 typedef	_JBTYPE jmp_buf[_JBLEN];
    40 
    41 IMPORT_C void longjmp(jmp_buf __jmpb, int __retval);
    42 IMPORT_C int setjmp(jmp_buf __jmpb);
    43 
    44 #ifdef __cplusplus
    45 }
    46 #endif
    47 #endif /* _SETJMP_H_ */
    48