Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_ReportAssertion - Never call this directly.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                             SDL_ReportAssertion(3)

Description

       Use the SDL_assert macros instead.

Function Parameters

data   assert data structure.

       func   function name.

       file   file name.

       line   line number.

Name

       SDL_ReportAssertion - Never call this directly.

Return Value

       Returns assert state.

Synopsis

#include<SDL3/SDL_assert.h>SDL_AssertStateSDL_ReportAssertion(SDL_AssertData*data,constchar*func,constchar*file,intline);

Thread Safety

       It is safe to call this function from any thread.

See Also