|
Size: 756
Comment: update content (in progress)
|
Size: 697
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to ^create an assertion for debugging^. | Use this function to create an assertion for debugging. |
| Line 24: | Line 23: |
| 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. | 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. |
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.
