SDL_ResetAssertionReport(3)
β¨ NAME β¨
okay so this is SDL_ResetAssertionReport(3), the SDL3 FUNCTIONS bestie whose whole personality is: clear the list of all assertion failures. no cap, that's the job. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_assert.h>
void SDL_ResetAssertionReport(void);
π¦ DESCRIPTION π¦
bestie, this function will clear the list of all assertions that got triggered up to that point. immediately after this call, SDL_GetAssertionReport will return no items β like, zero, nada, empty. β¨
also, any previously-triggered assertions get reset to a trigger_count of zero, and their always_ignore state will be false. so yeah, it's giving factory reset but for assertion drama. π§Ήπ
π THREAD SAFETY π
warning bestie β this function is not thread safe. if other threads are triggering an assertion, or if they're simultaneously calling this function, it may cause memory leaks or crashes. π like, do not do that, fr fr.
π AVAILABILITY π
this function is available since SDL 3.2.0. iconic, we love a timestamp. π
π SEE ALSO π
SDL_GetAssertionReport(3)β go read that one too, iykyk. π«Ά
byeee bestie β this was Simple Directmedia Layer, version SDL 3.4.18, and SDL_ResetAssertionReport(3) is out. date? not in the footer, so we're keeping it mysterious. mwah π
β¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms