Wiki Page Content

SDL_GetDefaultAssertionHandler

Use this function to get the default assertion handler.

Syntax

SDL_AssertionHandler SDL_GetDefaultAssertionHandler(void)

Return Value

Returns the default SDL_AssertionHandler that is called when an assert triggers.

Code Examples

You can add your code example here

Remarks

This returns the function pointer that is called by default when an assertion is triggered. This is an internal function provided by SDL, that is used for assertions when SDL_SetAssertionHandler() hasn't been used to provide a different function.

Version

This function is available since SDL 2.0.2.


CategoryAPI, CategoryAssertions

None: SDL_GetDefaultAssertionHandler (last edited 2014-02-25 21:47:30 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit