Citerar "H. Peter Anvin" <hpa@xxxxxxxxx>:
ricknu-0@xxxxxxxxxxxxxx wrote:This patch defines:Shouldn't this simply use _Bool?
* a generic boolean-type, named "bool"
* aliases to 0 and 1, named "false" and "true"
Signed-off-by: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>
Well, it is (now) just a typedef of it. :)
But I find it better, both because it is more similar to the common types:
short, lowlettered words. But also because most editors with highlightning
recognize "bool", but not "_Bool", as a type (as I found it).