|
⇤ ← Revision 1 as of 2011-04-13 19:19:12
Size: 792
Comment: create page - 4/8 05af1b9ff46d
|
Size: 756
Comment: update content (in progress)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''condition'''||the ^expression^ ,,condition,, to check|| | ||'''condition'''||the expression to check|| |
| Line 24: | Line 24: |
| This function is enabled and available for use only if the SDL_ASSERT_LEVEL is set to 2 or 3, otherwise it is disabled. See the [[CategoryAssertions|Assertions]] Category page for details. | This function is enabled only when the SDL_ASSERT_LEVEL is set to 2 or 3, otherwise it is disabled. See the [[CategoryAssertions|Assertions]] Category page for details. |
DRAFT |
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.
