|
Size: 1832
Comment: update content (in progress)
|
Size: 1844
Comment: update content (in progress)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 23: | Line 23: |
| ||'''0'''||all assertions disabled||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>disabled<<BR>>disabled|| ||'''1'''||for release (default)||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>'''enabled'''<<BR>>disabled|| ||'''2'''||for debugging (default)||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||'''enabled'''<<BR>>'''enabled'''<<BR>>disabled|| ||'''3'''||stringent for detailed checking||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||'''enabled'''<<BR>>'''enabled'''<<BR>>'''enabled'''|| |
||<:>'''0'''||all assertions disabled||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>disabled<<BR>>disabled|| ||<:>'''1'''||for release (default)||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>'''enabled'''<<BR>>disabled|| ||<:>'''2'''||for debugging (default)||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||'''enabled'''<<BR>>'''enabled'''<<BR>>disabled|| ||<:>'''3'''||stringent for detailed checking||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||'''enabled'''<<BR>>'''enabled'''<<BR>>'''enabled'''|| |
DRAFT |
Assertions
Include File(s): SDL_assert.h
Introduction
This category contains functions for managing assertions.
SDL_ASSERT_LEVEL affects which assertions, if any, are processed during compiling based on which function was used to create the assertion (see functions below).
If not otherwise set, SDL_ASSERT_LEVEL will default to level 2 for debugging or compiling with GNUC or MSC_VER or level 1 otherwise. SDL_ASSERT_LEVEL may also be set to 0 or 3.
The following table describes each SDL_ASSERT_LEVEL setting and the corresponding impact on the three SDL_assert functions:
SDL_ASSERT_LEVEL |
Description |
Function |
Function Status |
0 |
all assertions disabled |
SDL_assert |
disabled |
1 |
for release (default) |
SDL_assert |
disabled |
2 |
for debugging (default) |
SDL_assert |
enabled |
3 |
stringent for detailed checking |
SDL_assert |
enabled |
Enumerations
Structures
