Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added SDL_assert_always (never disabled).
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+3
−0
include/SDL_assert.h
|
@@ -165,6 +165,9 @@ extern DECLSPEC SDL_assert_state SDLCALL SDL_ReportAssertion(SDL_assert_data *, |
|
|
# error Unknown assertion level. |
|
|
#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)( |
|
|
const SDL_assert_data* data, void* userdata); |
|
|