[SDL] C++ / SDL using bool vs. SDL_bool

bazz mbazzinotti at gmail.com
Sat Mar 16 13:31:02 PDT 2013


I was also wondering if I can still use inexplicit if statements. for example: 

Code:
SDL_bool power_on = SDL_FALSE;
..
..
...
if (power_on)
{
    ....
}




is that safe? or must it be explicit? ie. (if power_on == SDL_TRUE)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130316/357039f5/attachment-0009.htm>


More information about the SDL mailing list