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:
phaneron 2024-08-30 18:04:21 -04:00
parent d149081f4e
commit 4f32840fdf
13 changed files with 164 additions and 103 deletions

15
storm/error/Error.hpp Normal file
View 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