mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
include: Documented SDL_bool a little.
This commit is contained in:
parent
407e54e188
commit
e47f2956cf
1 changed files with 22 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue