mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-04 19:07:40 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
4c30e555fe
commit
4147ff6a4e
1 changed files with 9 additions and 6 deletions
|
@ -73,13 +73,16 @@ typedef Uint32 SDL_InitFlags;
|
|||
* https://wiki.libsdl.org/SDL3/README/main-functions#main-callbacks-in-sdl3
|
||||
* for details.
|
||||
*
|
||||
* Returning SDL_APP_SUCCESS or SDL_APP_FAILURE from SDL_AppInit, SDL_AppEvent, or SDL_AppIterate
|
||||
* will terminate the program and report success/failure to the operating system. What that means
|
||||
* is platform-dependent. On Unix, for example, on success, the process error code will be zero,
|
||||
* and on failure it will be 1. This interface doesn't allow you to return specific exit codes,
|
||||
* just whether there was an error generally or not.
|
||||
* Returning SDL_APP_SUCCESS or SDL_APP_FAILURE from SDL_AppInit,
|
||||
* SDL_AppEvent, or SDL_AppIterate will terminate the program and report
|
||||
* success/failure to the operating system. What that means is
|
||||
* platform-dependent. On Unix, for example, on success, the process error
|
||||
* code will be zero, and on failure it will be 1. This interface doesn't
|
||||
* allow you to return specific exit codes, just whether there was an error
|
||||
* generally or not.
|
||||
*
|
||||
* Returning SDL_APP_CONTINUE from these functions will let the app continue to run.
|
||||
* Returning SDL_APP_CONTINUE from these functions will let the app continue
|
||||
* to run.
|
||||
*
|
||||
* \since This enum is available since SDL 3.0.0.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue