summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index a1168cdbb..4122e4066 100644
--- a/common.h
+++ b/common.h
@@ -23,6 +23,9 @@
extern "C" {
#endif
+#define ui_print(...) fprintf(stdout, __VA_ARGS__)
+#define ui_print_overwrite(...) fprintf(stdout, __VA_ARGS__)
+
// TODO: restore ui_print for LOGE
#define LOGE(...) fprintf(stdout, "E:" __VA_ARGS__)
#define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__)