- Separated Platform and Compiler Dependent Behaviour into CMake scripts
- Implemented Basic Platform Interfaces
- Implemented partial Linux platform and Wayland Display.
- Implemented Dependencies for the above
- map
- set
- optional
- pair
TODO: threading
This commit is contained in:
@@ -22,12 +22,11 @@ using assert_handler = void (*)(const char *, const char *, int , const char *);
|
||||
|
||||
void __assert_callback(const char* expression, const char* file, int line, const char* function, const char* description);
|
||||
|
||||
void __assert_impl(const char* expression, const char* file, int line, const char* function, const char* description)
|
||||
void __assert_impl(const char* expression, const char* file, int line, const char* function, const char* description, bool halt)
|
||||
{
|
||||
__assert_callback(expression, file, line, function, description);
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
::abort();
|
||||
#endif
|
||||
if (halt) {
|
||||
::abort();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user