Hi,all:
Is there a way to use the "#define printf" to open and close the log message?
In c ,it canbe do like
#define LOG(...) printf(...)
and if I don't want the log message just change it to
#define LOG(...) //printf(...)
In pawn, I it can be done with
#define LOG printf
but,
#define LOG //printf
will case every line of LOG a warning.
Is there a clean way to do this?
ven....@gmail.com
2013-04-23