include: Documented SDL_bool a little.

main
Ryan C. Gordon 2024-04-11 00:48:11 -04:00
parent 407e54e188
commit e47f2956cf
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 22 additions and 1 deletions

View File

@ -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;
/**