Rename module to modules
This commit is contained in:
parent
88511539ac
commit
7e9eb95186
14 changed files with 4 additions and 4 deletions
|
|
@ -1,26 +0,0 @@
|
|||
|
||||
#include "Assert.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace tp;
|
||||
|
||||
void tp::_assert_(const char* exp, const char* file, int line) {
|
||||
if (!exp) {
|
||||
exp = "no info";
|
||||
}
|
||||
printf("\nERROR: Assertion Failure - %s -- %s:%i\n", exp, file, line);
|
||||
|
||||
#ifdef ENV_BUILD_DEBUG
|
||||
DEBUG_BREAK(true);
|
||||
#else
|
||||
exit(1);
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
|
||||
void tp::terminate(tp::alni code) {
|
||||
exit((int)code);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue