mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 00:28:05 +02:00
Add definitions of ALUSInt and ALUUInt types in java/jsystemh_types.inc
This commit is contained in:
parent
b1151ef4ea
commit
282f4aa060
@ -365,6 +365,20 @@ Type
|
|||||||
ValUInt = Word;
|
ValUInt = Word;
|
||||||
{$endif CPU16}
|
{$endif CPU16}
|
||||||
|
|
||||||
|
{$if defined(CPUINT8)}
|
||||||
|
ALUSInt = ShortInt;
|
||||||
|
ALUUInt = Byte;
|
||||||
|
{$elseif defined(CPUINT16)}
|
||||||
|
ALUSInt = SmallInt;
|
||||||
|
ALUUInt = Word;
|
||||||
|
{$elseif defined(CPUINT32)}
|
||||||
|
ALUSInt = Longint;
|
||||||
|
ALUUInt = DWord;
|
||||||
|
{$elseif defined(CPUINT64)}
|
||||||
|
ALUSInt = Int64;
|
||||||
|
ALUUInt = QWord;
|
||||||
|
{$endif defined(CPUINT64)}
|
||||||
|
|
||||||
{ NativeInt and NativeUInt are Delphi compatibility types. Even though Delphi
|
{ NativeInt and NativeUInt are Delphi compatibility types. Even though Delphi
|
||||||
has IntPtr and UIntPtr, the Delphi documentation for NativeInt states that
|
has IntPtr and UIntPtr, the Delphi documentation for NativeInt states that
|
||||||
'The size of NativeInt is equivalent to the size of the pointer on the
|
'The size of NativeInt is equivalent to the size of the pointer on the
|
||||||
|
Loading…
Reference in New Issue
Block a user