Added SDL_assert_always (never disabled).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 20 Aug 2013 14:17:48 -0400
changeset 76646995a81e065a
parent 7663 53fe1b64eb2d
child 7665 4c0a6cfe27a0
Added SDL_assert_always (never disabled).
include/SDL_assert.h
     1.1 --- a/include/SDL_assert.h	Tue Aug 20 20:34:40 2013 -0300
     1.2 +++ b/include/SDL_assert.h	Tue Aug 20 14:17:48 2013 -0400
     1.3 @@ -165,6 +165,9 @@
     1.4  #   error Unknown assertion level.
     1.5  #endif
     1.6  
     1.7 +/* this assertion is never disabled at any level. */
     1.8 +#define SDL_assert_always(condition) SDL_enabled_assert(condition)
     1.9 +
    1.10  
    1.11  typedef SDL_assert_state (SDLCALL *SDL_AssertionHandler)(
    1.12                                   const SDL_assert_data* data, void* userdata);