setjumph.inc 969 B

1234567891011121314151617181920212223242526272829
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1998-2000 by xxxx
  5. member of the Free Pascal development team
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {**********************************************************************
  13. Declarations for SetJmp/LongJmp
  14. **********************************************************************}
  15. Type
  16. // CARL, CHANGE THESE TO THE NEEDED VALUES ! (MVC)
  17. jmp_buf = record
  18. ebx,esi,edi : Longint;
  19. bp,sp,pc : Pointer;
  20. end;
  21. PJmp_buf = ^jmp_buf;
  22. Function Setjmp (Var S : Jmp_buf) : longint;
  23. Procedure longjmp (Var S : Jmp_buf; value : longint);