SDL_AssertData - Information about an assertion failure.
Contents
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;