include/SDL_assert.h
changeset 7664 6995a81e065a
parent 7191 75360622e65f
child 7736 84d89d60908f
--- a/include/SDL_assert.h	Tue Aug 20 20:34:40 2013 -0300
+++ b/include/SDL_assert.h	Tue Aug 20 14:17:48 2013 -0400
@@ -165,6 +165,9 @@
 #   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);