12345678910111213141516171819202122232425262728 |
- {
- This file is part of the Free Pascal run time library.
- Copyright (c) 2000-2002 by Jonas Maebe and other members of the
- Free Pascal development team
- SetJmp/Longjmp declarations
- See the file COPYING.FPC, included in this distribution,
- for details about the copyright.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- type
- jmp_buf = packed record
- r1,r2,lr,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30,r31,cr : dword;
- {$ifndef FPUNONE}
- f14,f15,f16,f17,f18,f19,f20,f21,f22,f23,f24,f25,f26,f27,f28,f29,f30,f31 : double;
- {$endif}
- end;
- pjmp_buf = ^jmp_buf;
- function setjmp(var S : jmp_buf) : longint;[external name 'FPC_SETJMP'];
- procedure longjmp(var S : jmp_buf;value : longint);[external name 'FPC_LONGJMP'];
|