Re: 32/64 bit in Phobos

2015-03-07 Thread Rikki Cattermole via Digitalmars-d-learn
On 8/03/2015 2:49 p.m., Jason den Dulk wrote: Hi I noticed that in 32bit, many Phobos functions use int and uint, while in 64bit, they use long and ulong. As a result I am having some difficulty in writing code that works for both 32 bit and 64 bit. Is there an existing mechanism that allows

32/64 bit in Phobos

2015-03-07 Thread Jason den Dulk via Digitalmars-d-learn
Hi I noticed that in 32bit, many Phobos functions use int and uint, while in 64bit, they use long and ulong. As a result I am having some difficulty in writing code that works for both 32 bit and 64 bit. Is there an existing mechanism that allows writing code that will work in both 32 bit