setjumph.inc 852 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2003 by 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. v1,v2,v3,v4,v5,v6,sl,fp,sp,pc : dword;
  15. end;
  16. pjmp_buf = ^jmp_buf;
  17. function setjmp(var S : jmp_buf) : longint;
  18. procedure longjmp(var S : jmp_buf;value : longint);
  19. {
  20. $Log$
  21. Revision 1.1 2003-08-21 16:41:55 florian
  22. * empty dummy files
  23. + [long|set]jmp implemented
  24. }