|
Size: 1807
Comment: add search exclusions for SG pages
|
Size: 1825
Comment: cached searchs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 29: | Line 29: |
| <<FullSearch(category:CategoryEnum CategoryAssertions -SGEnumerations)>> | <<FullSearchCached(category:CategoryEnum CategoryAssertions -SGEnumerations)>> |
| Line 32: | Line 32: |
| <<FullSearch(category:CategoryStruct CategoryAssertions -SGStructures)>> | <<FullSearchCached(category:CategoryStruct CategoryAssertions -SGStructures)>> |
| Line 35: | Line 35: |
| <<FullSearch(category:CategoryAssertions -CategoryEnum -CategoryStruct -SGFunctions)>> | <<FullSearchCached(category:CategoryAssertions -CategoryEnum -CategoryStruct -SGFunctions)>> |
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).
SDL_ASSERT_LEVEL can be defined in your project. If not otherwise set, SDL_ASSERT_LEVEL will default to level 2 for debug builds or level 1 for release builds.
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
