[fpc-pascal] Platform Dependent Integer Types

African Wild Dog paintedlycaon at gmail.com
Fri Apr 7 17:28:46 CEST 2017


2017-04-07 12:10 GMT-03:00 Michael Van Canneyt <michael at freepascal.org>:

>
> NativeInt and NativeUInt are indeed provided for Delphi compatibility.
>
> Which integer type to chose : That depends. What do you want to achieve
> exactly ?
>
>
In Delphi, if i want an integer type which depends on the target platform
(32 or 64 bits) i can use the NativeInt and NativeUInt types. What is the
FPC standard type for this? PrtInt and PtrUInt? (I usually mix both delphi
mode and objfpc mode units in the same project).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170407/7a769621/attachment.html>


More information about the fpc-pascal mailing list