On 2014-01-23 18:27, Adam D. Ruppe wrote:

These shouldn't be longs. You could call them LPARAM (import
core.sys.windows.windows) or int.

A "long" in C is actually an "int" in D. D's "long" is more like C's
"long long".

A "long" in C is actually a D "int" on Windows. On Posix it's a D "int" when compiling for 32bit and a D "long" when compiling for 64bit. This is a simplification that holds for the most common platforms available today. For more details see:

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

--
/Jacob Carlborg

Reply via email to