setjumph.inc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-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 = packed 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);
  24. $Log$
  25. Revision 1.4 2002-10-20 11:53:14 carl
  26. * make the jmp_buf record packed, just in case
  27. Revision 1.3 2002/09/07 16:01:20 peter
  28. * old logs removed and tabs fixed
  29. }