diff options
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index 3bb1afa..486c846 100644 --- a/src/macros.h +++ b/src/macros.h @@ -103,10 +103,12 @@ #define CELL_NEGATIVE 17 #define DEFAULT 18 #define DEBUG_MSG 19 +#define VALUE_MSG 20 void ui_sc_msg(char * s, int type, ...); #define sc_error(x, ...) ui_sc_msg(x, ERROR_MSG, ##__VA_ARGS__) #define sc_debug(x, ...) ui_sc_msg(x, DEBUG_MSG, ##__VA_ARGS__) #define sc_info(x, ...) ui_sc_msg(x, INFO_MSG, ##__VA_ARGS__) +#define sc_value(x, ...) ui_sc_msg(x, VALUE_MSG, ##__VA_ARGS__) #define RUNTIME ((current_tv.tv_sec - startup_tv.tv_sec) * 1000L + (current_tv.tv_usec - startup_tv.tv_usec) / 1000L) |