mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-04-26 09:36:29 +00:00
Added SDL_assert_always (never disabled).
This commit is contained in:
parent
552b04c58a
commit
094a72b8f7
|
@ -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…
Reference in a new issue