src/SDL_assert.c
changeset 8167 82ec2a95e664
parent 8149 681eb46b8ac4
child 8583 fb2933ca805f
equal deleted inserted replaced
8166:d1be9ce49463 8167:82ec2a95e664
   364     }
   364     }
   365 
   365 
   366     triggered_assertions = NULL;
   366     triggered_assertions = NULL;
   367 }
   367 }
   368 
   368 
       
   369 SDL_AssertionHandler SDL_GetDefaultAssertionHandler(void)
       
   370 {
       
   371     return SDL_PromptAssertion;
       
   372 }
       
   373 
       
   374 SDL_AssertionHandler SDL_GetAssertionHandler(void **userdata)
       
   375 {
       
   376     if (userdata != NULL) {
       
   377         *userdata = assertion_userdata;
       
   378     }
       
   379     return assertion_handler;
       
   380 }
       
   381 
   369 /* vi: set ts=4 sw=4 expandtab: */
   382 /* vi: set ts=4 sw=4 expandtab: */