setjumph.inc 922 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1998 the Free Pascal development team
  5. SetJmp/Longjmp declarations
  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. Type
  13. jmp_buf = packed record
  14. ebx,esi,edi : Longint;
  15. bp,sp,pc : Pointer;
  16. end;
  17. PJmp_buf = ^jmp_buf;
  18. Function Setjmp (Var S : Jmp_buf) : longint;
  19. Procedure longjmp (Var S : Jmp_buf; value : longint);
  20. {
  21. $Log$
  22. Revision 1.4 2002-09-15 10:04:31 carl
  23. * make the record packed (just in case)
  24. Revision 1.3 2002/09/07 16:01:19 peter
  25. * old logs removed and tabs fixed
  26. }