SDL_ReportAssertion - Man Page

Never call this directly.

Synopsis

#include <SDL3/SDL_assert.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

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.16 Simple Directmedia Layer SDL3 FUNCTIONS