In article <87507@palm-dev-forum>, [EMAIL PROTECTED] says... > > [u]intN_t native type of exactly N bits > > ("These types are optional. However if an implementation > > provides integer types with widths of 8, 16, 32, or 64 bits, > > it shall define the corresponding typedef names". And you can > > supply others too: e.g. that weird machine could have int36_t) > > > > [u]int_leastN_t smallest native type of at least N bits > > [u]int_fastN_t "fastest" native type of at least N bits > > (N = 8,16,32,64 must all be provided) > > > > [u]intmax_t the biggest native type you've got > > > this is *good* stuff :) > > i for one would vote for something along these lines :) the only > problem is that we would need to have different declarations for > each CPU type - and, with ARM emulating m68k; which size is better? :P
The joy of <stdint.h> is that its determined by the system or compiler vendor, so its already taylored to be the right types for your platform. You just include the header, use the types, and forget about it. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/