Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2024-08-19 00:55:27 +00:00
parent 9c5bd98a0f
commit 1f34f35b25
2 changed files with 7 additions and 4 deletions

View file

@ -333,6 +333,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
* "break" so that your debugger takes control as soon as assert is triggered, * "break" so that your debugger takes control as soon as assert is triggered,
* instead of risking a bad UI interaction (deadlock, etc) in the application. * instead of risking a bad UI interaction (deadlock, etc) in the application.
* * * *
*
* \param condition boolean value to test. * \param condition boolean value to test.
* *
* \since This macro is available since SDL 3.0.0. * \since This macro is available since SDL 3.0.0.

View file

@ -4128,15 +4128,17 @@ extern "C" {
* - "abort": Program terminates immediately. * - "abort": Program terminates immediately.
* - "break": Program triggers a debugger breakpoint. * - "break": Program triggers a debugger breakpoint.
* - "retry": Program reruns the SDL_assert's test again. * - "retry": Program reruns the SDL_assert's test again.
* - "ignore": Program continues on, ignoring this assertion failure this time. * - "ignore": Program continues on, ignoring this assertion failure this
* - "always_ignore": Program continues on, ignoring this assertion failure for the rest of the run. * time.
* - "always_ignore": Program continues on, ignoring this assertion failure
* for the rest of the run.
* *
* Note that SDL_SetAssertionHandler offers a programmatic means to deal with * Note that SDL_SetAssertionHandler offers a programmatic means to deal with
* assertion failures through a callback, and this hint is largely intended to * assertion failures through a callback, and this hint is largely intended to
* be used via environment variables by end users and automated tools. * be used via environment variables by end users and automated tools.
* *
* This hint should be set before an assertion failure is triggered and can * This hint should be set before an assertion failure is triggered and can be
* be changed at any time. * changed at any time.
* *
* \since This hint is available since SDL 3.0.0. * \since This hint is available since SDL 3.0.0.
*/ */