SDL_ReportAssertion - Man Page

Never call this directly.

Header File

Defined in SDL3/SDL_assert.h

Synopsis

#include "SDL3/SDL.h"

SDL_AssertState SDL_ReportAssertion(SDL_AssertData *data,
                                const char *func,
                                const char *file, int line);

Description

Use the SDL_assert
macros instead.

Function Parameters

data

assert data structure.

func

function name.

file

file name.

line

line number.

Return Value

( SDL_AssertState ) Returns assert state.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS