table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.24+ds-1
- unstable 3.2.26+ds-1
- experimental 3.3.2+git20251029~d9ca045+ds-1
| SDL_AssertData(3type) | SDL3 DATATYPES | SDL_AssertData(3type) |
NAME¶
SDL_AssertData - Information about an assertion failure.
SYNOPSIS¶
#include <SDL3/SDL_assert.h>
typedef struct SDL_AssertData
{
bool always_ignore; /**< true if app should always continue when assertion is triggered. */
unsigned int trigger_count; /**< Number of times this assertion has been triggered. */
const char *condition; /**< A string of this assert's test code. */
const char *filename; /**< The source file where this assert lives. */
int linenum; /**< The line in `filename` where this assert lives. */
const char *function; /**< The name of the function where this assert lives. */
const struct SDL_AssertData *next; /**< next item in the linked list. */
} SDL_AssertData;
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().
AVAILABILITY¶
This struct is available since SDL 3.2.0.
| SDL 3.2.26 | Simple Directmedia Layer |