On 8/28/17 9:34 PM, Johnson Jones wrote:
produces 4 on both x86 and x64. So, I'm not sure how you are getting 8.
Yes, this is exactly why you should use c_long and c_ulong, because just using int makes it not portable to other systems.
-Steve
Steven Schveighoffer via Digitalmars-d-learn Tue, 29 Aug 2017 05:36:40 -0700
On 8/28/17 9:34 PM, Johnson Jones wrote:
produces 4 on both x86 and x64. So, I'm not sure how you are getting 8.
Yes, this is exactly why you should use c_long and c_ulong, because just using int makes it not portable to other systems.
-Steve