mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 10:18:32 +02:00
22 lines
1.3 KiB
PHP
22 lines
1.3 KiB
PHP
|
|
type
|
|
TMakeContextProc = procedure; // Used anonymously in header file.
|
|
|
|
function getcontext(__ucp:Pucontext_t):longint;cdecl;external clib name 'getcontext';
|
|
function setcontext(__ucp:Pucontext_t):longint;cdecl;external clib name 'setcontext';
|
|
function swapcontext(__oucp:Pucontext_t; __ucp:Pucontext_t):longint;cdecl;external clib name 'swapcontext';
|
|
procedure makecontext(__ucp:Pucontext_t; __func:TMakeContextProc; __argc:longint; args:array of const);cdecl;external clib name 'makecontext';
|
|
procedure makecontext(__ucp:Pucontext_t; __func:TMakeContextProc; __argc:longint);cdecl;external clib name 'makecontext';
|
|
|
|
|
|
{ ---------------------------------------------------------------------
|
|
Borland compatibility types
|
|
---------------------------------------------------------------------}
|
|
|
|
// Type
|
|
function getcontext(var __ucp:ucontext_t):longint;cdecl;external clib name 'getcontext';
|
|
function setcontext(const __ucp: ucontext_t):longint;cdecl;external clib name 'setcontext';
|
|
function swapcontext(var __oucp:ucontext_t; const __ucp: ucontext_t):longint;cdecl;external clib name 'swapcontext';
|
|
procedure makecontext(var __ucp:ucontext_t; __func:TMakeContextProc; __argc:longint; args:array of const);cdecl;external clib name 'makecontext';
|
|
procedure makecontext(var __ucp:ucontext_t; __func:TMakeContextProc; __argc:longint);cdecl;external clib name 'makecontext';
|