Browse Source

Sync SDL3 wiki -> header

SDL Wiki Bot 8 months ago
parent
commit
1f34f35b25
2 changed files with 7 additions and 4 deletions
  1. 1 0
      include/SDL3/SDL_assert.h
  2. 6 4
      include/SDL3/SDL_hints.h

+ 1 - 0
include/SDL3/SDL_assert.h

@@ -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,
  * instead of risking a bad UI interaction (deadlock, etc) in the application.
  * *
+ *
  * \param condition boolean value to test.
  *
  * \since This macro is available since SDL 3.0.0.

+ 6 - 4
include/SDL3/SDL_hints.h

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