[−][src]Function sdl2_sys::SDL_GetAssertionReport
pub unsafe extern "C" fn SDL_GetAssertionReport() -> *const SDL_AssertData
\brief Get a list of all assertion failures.
Get all assertions triggered since last call to SDL_ResetAssertionReport(), or the start of the program.
The proper way to examine this data looks something like this:
const SDL_AssertData *item = SDL_GetAssertionReport();
while (item) {
printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n",
item->condition, item->function, item->filename,
item->linenum, item->trigger_count,
item->always_ignore ? "yes" : "no");
item = item->next;
}
\return List of all assertions. \sa SDL_ResetAssertionReport