Re: [cc65] Arrays of structs

From: Ullrich von Bassewitz <>
Date: 2005-08-16 18:04:34
On Tue, Aug 16, 2005 at 05:51:40PM +0200, Groepaz wrote:
> mmmh doesnt C99 even define some standard types (uint8) for that?

From ISO/IEC 9899:1999 (E), "Exact-width integer types":

  1 The typedef name intN_t designates a signed integer type with width N,
    no padding bits, and a two s complement representation. Thus, int8_t denotes a
    signed integer type with a width of exactly 8 bits.

  2 The typedef name uintN_t designates an unsigned integer type with width N.
    Thus, uint24_t denotes an unsigned integer type with a width of exactly 24

  3 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.

Please note the word "optional" in the standard:-)



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue, 16 Aug 2005 18:04:34 +0200

This archive was generated by hypermail 2.1.8 : 2005-08-16 18:04:47 CEST