mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Minor optimizations
This commit is contained in:
parent
0c955e5c66
commit
3736281ff7
4 changed files with 25 additions and 13 deletions
|
@ -1861,6 +1861,13 @@ public:
|
|||
#define BfLog(fmt, ...) {} // Nothing
|
||||
#endif
|
||||
|
||||
#ifdef BF_WANTS_LOG
|
||||
#define BfLogX(logIdx, fmt, ...) DoBfLog(logIdx, fmt, ##__VA_ARGS__)
|
||||
#else
|
||||
#define BfLogX(logIdx, fmt, ...) {} // Nothing
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef BF_WANTS_LOG_SYS
|
||||
#define BfLogSys(sys, fmt, ...) DoBfLog((sys)->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
||||
#define BfLogSysM(fmt, ...) DoBfLog(mSystem->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue