mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-26 21:33:26 +08:00
include: Documented SDL_bool a little.
This commit is contained in:
parent
407e54e188
commit
e47f2956cf
@ -136,10 +136,31 @@ void *alloca(size_t);
|
||||
/* @{ */
|
||||
|
||||
/**
|
||||
* A boolean type.
|
||||
* A boolean false.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_bool
|
||||
*/
|
||||
#define SDL_FALSE 0
|
||||
|
||||
/**
|
||||
* A boolean true.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_bool
|
||||
*/
|
||||
#define SDL_TRUE 1
|
||||
|
||||
/**
|
||||
* A boolean type: true or false.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_TRUE
|
||||
* \sa SDL_FALSE
|
||||
*/
|
||||
typedef int SDL_bool;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user