SDL_AssertState
An enumeration of assertion handling states.
断言处理状态的枚举。
Values 值
值 | En 说明 | Ch 说明 |
---|---|---|
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 代码示例
暂无。
Remarks 注释
This enumeration is returned by the callback function in SDL_SetAssertionHandler() to determine the response to failed assertions.
该枚举是由回调函数 SDL_SetAssertionHandler() 返回,用来决定断言失败时的回应。