home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk23 / dir05 / f012800.re_ / f012800.re
Text File  |  1996-04-02  |  2KB  |  44 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1992) Bentley Systems, Inc., All rights reserved.        |
  4. |                                    |
  5. |  "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley    |
  6. |  Systems, Inc.                            |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   Current Revision:                            |
  18. |   $Workfile:   setjmp.h  $
  19. |   $Revision:   6.0  $  $Date:   Thu Oct 21 10:19:28 1993  $
  20. |                                    |
  21. +----------------------------------------------------------------------*/
  22.  
  23. #if !defined (mdl)
  24. #error This file is intended for MDL only
  25. #endif
  26.  
  27. #if !defined (__setjmpH__)
  28. #define __setjmpH__
  29.     
  30. #include    "mdlsetjp.h"
  31.  
  32. int            setjmp (jmp_buf _jmpbuf);
  33. void            longjmp (jmp_buf _jmpbuf, int _arg);
  34.  
  35. /*  mdlInput_setjmp and mdlInput_longjmp must be used if the contents of the
  36.     jump buffer must be saved across calls to mdlInput_waitForMessage. If the
  37.     program never calls mdlInput_waitForMessage (most programs should not), 
  38.     then use the standard setjmp and longjmp.
  39. */
  40. int            mdlInput_setjmp (jmp_buf _jmpbuf);
  41. void            mdlInput_longjmp (jmp_buf _jmpbuf, int _arg);
  42.  
  43. #endif
  44.