On 08/19/2010 10:58 AM, Jes Sorensen wrote:
In C99, bool is a real type.
Kinda real, I would qualify it more as a pseudo type. It doesn't map to
any register size or even instruction actions.
Neither do int, short, long, long long, or signed short long float.
Most processors, at least
the ones I have programmed, tend to treat it as zero == false,
everything else == true.
Processors don't have _Bool.
For structure packing it's ugly.
Use uint*_t for externally visible structures. use _Bool for internal
booleans.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.