Function SDL_ResetAssertionReport

pub unsafe extern "C" fn SDL_ResetAssertionReport()
Available on crate feature dep_sdl3 only.
Expand description

Clear the list of all assertion failures.

This function will clear the list of all assertions triggered up to that point. Immediately following this call, SDL_GetAssertionReport will return no items. In addition, any previously-triggered assertions will be reset to a trigger_count of zero, and their always_ignore state will be false.

§Thread safety

This function is not thread safe. Other threads triggering an assertion, or simultaneously calling this function may cause memory leaks or crashes.

§Availability

This function is available since SDL 3.2.0.

§See also