include/SDL_assert.h
changeset 3666 0d58847d1e2a
parent 3665 97114af2f8dc
child 3668 6952d2b783e6
equal deleted inserted replaced
3665:97114af2f8dc 3666:0d58847d1e2a
    90 #define SDL_disabled_assert(condition) \
    90 #define SDL_disabled_assert(condition) \
    91     do { (void) sizeof ((condition)); } while (0)
    91     do { (void) sizeof ((condition)); } while (0)
    92 
    92 
    93 #if (SDL_ASSERT_LEVEL > 0)
    93 #if (SDL_ASSERT_LEVEL > 0)
    94 
    94 
    95 
       
    96 typedef enum
    95 typedef enum
    97 {
    96 {
    98     SDL_ASSERTION_RETRY,  /**< Retry the assert immediately. */
    97     SDL_ASSERTION_RETRY,  /**< Retry the assert immediately. */
    99     SDL_ASSERTION_BREAK,  /**< Make the debugger trigger a breakpoint. */
    98     SDL_ASSERTION_BREAK,  /**< Make the debugger trigger a breakpoint. */
   100     SDL_ASSERTION_ABORT,  /**< Terminate the program. */
    99     SDL_ASSERTION_ABORT,  /**< Terminate the program. */