size_t + ptrdiff_t

Jacob Carlborg doob at me.com
Mon Feb 20 12:26:21 PST 2012


On 2012-02-20 18:26, Stewart Gordon wrote:
> On 20/02/2012 17:21, Iain Buclaw wrote:
> <snip>
>> c_long and c_ulong are guaranteed to match target long size
> <snip>
>
> Which means what, exactly?
>
> Stewart.

Simplified:

32bit:

Windows long == 32bit
Posix long == 32bit

64bit:

Windows long == 32bit
Posix long == 64bit

For a complete table of the 64bit data models see:

http://en.wikipedia.org/wiki/64-bit#64-bit_data_models

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list