SDL_ResetAssertionReport(3)

SDL_ResetAssertionReport3

Clear the list of all assertion failures.

Usage

#include "SDL3/SDL.h"

void SDL_ResetAssertionReport(void);

Header file

Defined in SDL3/SDL_assert.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.