mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 17:09:35 +02:00
morphunits: imported the traditional Amiga types and some consts into exec for better Amiga & AROS compatibility
git-svn-id: trunk@31000 -
This commit is contained in:
parent
2ffb2f9c98
commit
c1946ace52
@ -24,6 +24,30 @@ var
|
||||
ExecBase: Pointer;
|
||||
|
||||
|
||||
{ Some types for classic Amiga and AROS compatibility }
|
||||
type
|
||||
STRPTR = PChar;
|
||||
ULONG = Longword;
|
||||
LONG = Longint;
|
||||
APTR = Pointer;
|
||||
BPTR = Longint;
|
||||
BSTR = Longint;
|
||||
BOOL = Smallint; { I think this could be changed to WordBool (KB) }
|
||||
UWORD = Word;
|
||||
WORDBITS = Word;
|
||||
LONGBITS = Longword;
|
||||
PLONGBITS = ^LONGBITS;
|
||||
UBYTE = Byte;
|
||||
PULONG = ^Longword;
|
||||
PAPTR = ^APTR;
|
||||
PLONG = ^LONG;
|
||||
|
||||
{ Some constants for classic Amiga and AROS compatibility }
|
||||
const
|
||||
LTrue : Longint = 1;
|
||||
LFalse : Longint = 0;
|
||||
|
||||
|
||||
{ * emulinterface consts from MorphOS SDK * }
|
||||
|
||||
const
|
||||
|
Loading…
Reference in New Issue
Block a user