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:
Károly Balogh 2015-06-07 01:26:47 +00:00
parent 2ffb2f9c98
commit c1946ace52

View File

@ -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