Section: §18.2.2 C-to-Pascal Type Mapping table
Current text:
long → LongInt annotated "(Win32: 4 bytes)"
Problem:
The caveat is incomplete: on 64-bit Linux/macOS targets (LP64 data model), C's long is 8 bytes, while Delphi's LongInt is always 32-bit regardless of platform. The table should either map long differently per-platform or add an explicit warning that this mapping only holds on Windows (LLP64) and Win32; on POSIX 64-bit targets long corresponds to NativeInt/Int64, not LongInt.
Suggested fix:
Add a per-platform note: on Windows (Win32/Win64, LLP64), C long maps to LongInt (4 bytes); on 64-bit Linux/macOS (LP64), C long is 8 bytes and maps to NativeInt/Int64, not LongInt.
Section: §18.2.2 C-to-Pascal Type Mapping table
Current text:
long→LongIntannotated "(Win32: 4 bytes)"Problem:
The caveat is incomplete: on 64-bit Linux/macOS targets (LP64 data model), C's
longis 8 bytes, while Delphi'sLongIntis always 32-bit regardless of platform. The table should either maplongdifferently per-platform or add an explicit warning that this mapping only holds on Windows (LLP64) and Win32; on POSIX 64-bit targetslongcorresponds toNativeInt/Int64, notLongInt.Suggested fix:
Add a per-platform note: on Windows (Win32/Win64, LLP64), C
longmaps toLongInt(4 bytes); on 64-bit Linux/macOS (LP64), Clongis 8 bytes and maps toNativeInt/Int64, notLongInt.