> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux 19:48:39 up 1 day 5:24, 2 users, load average: 1.69, 1.04, 0.90
This commit is contained in:
parent
bd617e3c7b
commit
f1667e6aec
1 changed files with 3 additions and 3 deletions
|
@ -25,11 +25,11 @@
|
||||||
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
||||||
|
|
||||||
#define Warning(format, ...) \
|
#define Warning(format, ...) \
|
||||||
_Log(ANSI_FMT("[WARNING] %s:%d %s " format, ANSI_FG_YELLOW) "\n", \
|
_Log(ANSI_FMT("[WARNING] %s:%d %s() ", ANSI_FG_YELLOW) format "\n", \
|
||||||
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
||||||
|
|
||||||
#define Error(format, ...) \
|
#define Error(format, ...) \
|
||||||
_Log(ANSI_FMT("[ERROR] %s:%d %s " format, ANSI_FG_RED) "\n", \
|
_Log(ANSI_FMT("[ERROR] %s:%d %s() ", ANSI_FG_RED) format "\n", \
|
||||||
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
__FILE__, __LINE__, __func__, ## __VA_ARGS__)
|
||||||
|
|
||||||
#define Assert(cond, format, ...) \
|
#define Assert(cond, format, ...) \
|
||||||
|
|
Loading…
Reference in a new issue