Added SDL_assert_always (never disabled).
--HG-- extra : rebase_source : ff08944ae7b6f86458840f29a3bf82ccb89b0307
This commit is contained in:
parent
5e78879e76
commit
8a69509af3
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ extern DECLSPEC SDL_assert_state SDLCALL SDL_ReportAssertion(SDL_assert_data *,
|
||||||
# error Unknown assertion level.
|
# error Unknown assertion level.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* this assertion is never disabled at any level. */
|
||||||
|
#define SDL_assert_always(condition) SDL_enabled_assert(condition)
|
||||||
|
|
||||||
|
|
||||||
typedef SDL_assert_state (SDLCALL *SDL_AssertionHandler)(
|
typedef SDL_assert_state (SDLCALL *SDL_AssertionHandler)(
|
||||||
const SDL_assert_data* data, void* userdata);
|
const SDL_assert_data* data, void* userdata);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue