mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(storm): reorganized error library, assertions are now more detailed across different platforms; added new macros STORM_VALIDATE_STRING and STORM_PANIC
This commit is contained in:
parent
d149081f4e
commit
4f32840fdf
13 changed files with 164 additions and 103 deletions
15
storm/error/Error.hpp
Normal file
15
storm/error/Error.hpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef STORM_ERROR_ERROR_HPP
|
||||
#define STORM_ERROR_ERROR_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
struct APPFATINFO {
|
||||
const char *filename;
|
||||
int32_t linenumber;
|
||||
uintptr_t threadId;
|
||||
};
|
||||
|
||||
extern uint32_t s_lasterror;
|
||||
extern APPFATINFO s_appFatInfo;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue