mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(error): add STORM_ASSERT_VOID and improve assertion macros
This commit is contained in:
parent
bc499d065c
commit
a56c0c6fe0
2 changed files with 26 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
void SErrDisplayAppFatal(const char* format, ...) {
|
||||
[[ noreturn ]] void SErrDisplayAppFatal(const char* format, ...) {
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
vprintf(format, args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue