blob: 2c96d04e27d85c6308a513d131f32e6eda90163e [file] [log] [blame]
Dees_Troy2673cec2013-04-02 20:22:16 +00001#ifndef TWCOMMON_HPP
2#define TWCOMMON_HPP
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "gui/gui.h"
9#define LOGERR(...) gui_print("E:" __VA_ARGS__)
10#define LOGINFO(...) fprintf(stdout, "I:" __VA_ARGS__)
11
12#define STRINGIFY(x) #x
13#define EXPAND(x) STRINGIFY(x)
14
15#ifdef __cplusplus
16}
17#endif
18
19#endif // TWCOMMON_HPP