11 lines
173 B
C
11 lines
173 B
C
|
#include "message.h"
|
||
|
|
||
|
void show_message_error(bool result, const char* message)
|
||
|
{
|
||
|
if(!result)
|
||
|
{
|
||
|
printf("%s\n", message);
|
||
|
exit(EXIT_FAILURE);
|
||
|
}
|
||
|
}
|