Re: u/int64 support for glib, status?



> > int is normally 32bit on 64bit archs, while long is 64bit.
> 
> And abnormaly, on windows on ia64, both long and int are 32 bits while
> pointers are 64 bits.

Well, there is really nothing abnormal here, it is all a matter of how the
ABI defines things.

You could even have on 64 bits machine an int using 64 bits and a long using
32 bits. This was actually considered for some architecture based on the
fact that (at this time, years ago), people relied on long being 32 bits,
while no assumption was made about int.

Arno




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]