Re: [GD-General] The joy of type aliasing and C
Brought to you by:
vexxed72
From: Brian H. <ho...@py...> - 2003-12-31 16:51:53
|
> but for sanity sake, standards could just add int16, int32 etc. and > get over with the mess. Am I wrong? They already have. As of C99, there's <stdint.h> and <inttypes.h> which had a host of types, including int16_t, uint32_t, etc. There are also "fast" versions that are "at least this size, but may be larger", and constant macros for 64-bit values. Brian |