Wiki Page Content

Revision 3 as of 2011-04-18 18:36:45

Clear message

SDL_assert

Use this function to create an assertion for debugging.

Syntax

void SDL_assert(condition)

Function Parameters

condition

the expression to check

Code Examples

You can add your code example here

Remarks

This function is enabled only when the SDL_ASSERT_LEVEL is set to 2 or 3, otherwise it is disabled. See the Assertions Category page for details.


CategoryAPI, CategoryAssertions

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