[SDL] Feature Query System (Was: Some multithreaded improvement to the event queue...)

Ricardo Cruz rpmcruz at clix.pt
Sun Sep 18 11:53:14 PDT 2005

 Well, the boolean type also exists in C since the C99 revision. Just do a 
"#include <stdbool.h>".

 Anyway, instead of your define, a more correct code would be something like:
typedef enum { false, true } bool;


Em Sábado, 17 de Setembro de 2005 08:39, o Olof Bjarnason escreveu:
> #define bool int
> Err.. sorry for the C++-ish API style :)
A clash of doctrine is not a disaster -- it is an opportunity.

More information about the SDL mailing list