logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_AssertData - Information about an assertion failure.

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                              SDL_AssertData(3type)

Description

       This  structure is filled in with information about a triggered assertion, used by the assertion handler,
       then added to the assertion report. This is returned as a linked list from SDL_GetAssertionReport().

Name

       SDL_AssertData - Information about an assertion failure.

Synopsis

#include<SDL3/SDL_assert.h>typedefstructSDL_AssertData{boolalways_ignore;/**<trueifappshouldalwayscontinuewhenassertionistriggered.*/unsignedinttrigger_count;/**<Numberoftimesthisassertionhasbeentriggered.*/constchar*condition;/**<Astringofthisassert'stestcode.*/constchar*filename;/**<Thesourcefilewherethisassertlives.*/intlinenum;/**<Thelinein`filename`wherethisassertlives.*/constchar*function;/**<Thenameofthefunctionwherethisassertlives.*/conststructSDL_AssertData*next;/**<nextiteminthelinkedlist.*/}SDL_AssertData;

See Also