diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-30 08:54:18 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-30 08:54:18 +0330 |
commit | 9f2b1bdcfbbc084876c3ab7cc2cb8c15ffb88184 (patch) | |
tree | cf46656b50fa3d868a7bed4821667f6a31ea922c /src/utils/log.h | |
parent | d32d148cee5b3aec5e8943738aa30139d442478c (diff) |
added assign operator
Diffstat (limited to 'src/utils/log.h')
-rw-r--r-- | src/utils/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/log.h b/src/utils/log.h index 32f6a8f..620b2a3 100644 --- a/src/utils/log.h +++ b/src/utils/log.h @@ -2,4 +2,6 @@ #define printLog(format,...) _printLogBack(format, __FILE_NAME__, __LINE__, ## __VA_ARGS__) +#define UNREACHABLE printLog("Unreachable");exit(1) + extern void _printLogBack(const char *format, const char *file, int line, ...); |