Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-04-18 17:46:32
Size: 912
Editor: SheenaSmith
Comment: update content (in progress)
Revision 3 as of 2011-04-18 17:51:43
Size: 788
Editor: SheenaSmith
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:
An enumeration of assertion ^handler^ states. An enumeration of assertion handling states.
Line 12: Line 11:
||SDL_ASSERTION_BREAK||make the debugger trigger a breakpoint|| ||SDL_ASSERTION_BREAK||trigger a breakpoint under the debugger||
Line 23: Line 22:
''You can add useful comments here''

This enumeration is used by the callback function in [[SDL_SetAssertionHandler]]() to determine the response to failed assertions.
This enumeration is returned by the callback function in [[SDL_SetAssertionHandler]]() to determine the response to failed assertions.
Line 28: Line 25:
 .[[SDL_ReportAssertion]] ???

SDL_assert_state

An enumeration of assertion handling states.

Values

SDL_ASSERTION_RETRY

retry the assert immediately

SDL_ASSERTION_BREAK

trigger a breakpoint under the debugger

SDL_ASSERTION_ABORT

terminate the program

SDL_ASSERTION_IGNORE

ignore the assert

SDL_ASSERTION_ALWAYS_IGNORE

ignore the assert from now on

Code Examples

You can add your code example here

Remarks

This enumeration is returned by the callback function in SDL_SetAssertionHandler() to determine the response to failed assertions.


CategoryEnum, CategoryAssertions

None: SDL_AssertState (last edited 2015-02-21 10:13:17 by PhilippWiesemann)

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