mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
refactor(error): make error variables properly static
This commit is contained in:
parent
57430d406f
commit
6cbf0d23bf
5 changed files with 74 additions and 74 deletions
|
|
@ -1,21 +1,6 @@
|
|||
#ifndef STORM_ERROR_HPP
|
||||
#define STORM_ERROR_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "storm/error/Macro.hpp"
|
||||
#include "storm/error/Codes.hpp"
|
||||
|
||||
[[noreturn]] void SErrDisplayAppFatal(const char* format, ...);
|
||||
|
||||
int32_t SErrDisplayError(uint32_t errorcode, const char* filename, int32_t linenumber, const char* description, int32_t recoverable, uint32_t exitcode, uint32_t a7);
|
||||
|
||||
int32_t SErrDisplayErrorFmt(uint32_t errorcode, const char* filename, int32_t linenumber, int32_t recoverable, uint32_t exitcode, const char* format, ...);
|
||||
|
||||
void SErrPrepareAppFatal(const char* filename, int32_t linenumber);
|
||||
|
||||
void SErrSetLastError(uint32_t errorcode);
|
||||
|
||||
uint32_t SErrGetLastError();
|
||||
#include "storm/error/Error.hpp"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue