DOKK / manpages / debian 13 / libsdl3-doc / SDL_ReportAssertion.3.en
SDL_ReportAssertion(3) SDL3 FUNCTIONS SDL_ReportAssertion(3)

SDL_ReportAssertion - Never call this directly.

Defined in SDL3/SDL_assert.h

#include "SDL3/SDL.h"
SDL_AssertState SDL_ReportAssertion(SDL_AssertData *data,
                                const char *func,
                                const char *file, int line);

Use the SDL_assert
macros instead.

assert data structure.
function name.
file name.
line number.

( SDL_AssertState ) Returns assert state.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer