Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-03-31 20:30:43
Size: 665
Editor: SheenaSmith
Comment: create page - 3/29 e427bb6266a4
Revision 2 as of 2011-04-13 18:44:10
Size: 1408
Editor: SheenaSmith
Comment: add SDL_ASSERT_LEVEL info
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
This category contains functions for ^managing SDL assertions^. This category contains functions for managing assertions.

The following table describes each SDL_ASSERT_LEVEL setting and the corresponding impact on the 3 SDL_assert functions:

||<rowbgcolor="#EDEDED">'''SDL_ASSERT_LEVEL'''||'''Description'''||'''Function'''||'''Function Status'''||
||0||assertions disabled||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>disabled<<BR>>disabled||
||1||default for release||SDL_assert<<BR>>SDL_assert_release<<BR>>SDL_assert_paranoid||disabled<<BR>>enabled<<BR>>disabled||
||2||default for debugging||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.

The following table describes each SDL_ASSERT_LEVEL setting and the corresponding impact on the 3 SDL_assert functions:

SDL_ASSERT_LEVEL

Description

Function

Function Status

0

assertions disabled

SDL_assert
SDL_assert_release
SDL_assert_paranoid

disabled
disabled
disabled

1

default for release

SDL_assert
SDL_assert_release
SDL_assert_paranoid

disabled
enabled
disabled

2

default for debugging

SDL_assert
SDL_assert_release
SDL_assert_paranoid

enabled
enabled
disabled

3

stringent for detailed checking

SDL_assert
SDL_assert_release
SDL_assert_paranoid

enabled
enabled
enabled

Enumerations

Structures

Functions


CategoryCategory

None: CategoryAssertions (last edited 2019-03-25 00:03:03 by ColaEuphoria)

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