DMD32 vs DMD64 array.length
Alex Rønne Petersen
xtzgzorex at gmail.com
Thu Nov 10 07:20:43 PST 2011
On 10-11-2011 16:18, Andrea Fontana wrote:
> Some functions (for example array length) return ulong on dmd64 e uint
> on dmd32
> I need to compile on both platform: which is the right/best/clean way?
I don't understand what your actual question is, but size_t is what you
should use for such things. (size_t == uint on x86, ulong on x86-64.)
- Alex
More information about the Digitalmars-d
mailing list