CTCaer-TWRP/twcommon.h
Dees_Troy 2673cec07a Move all AOSP code out of recovery binary
Improves license compatibility between GPL and Apache

Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-04-04 18:57:34 +00:00

20 lines
317 B
C

#ifndef TWCOMMON_HPP
#define TWCOMMON_HPP
#ifdef __cplusplus
extern "C" {
#endif
#include "gui/gui.h"
#define LOGERR(...) gui_print("E:" __VA_ARGS__)
#define LOGINFO(...) fprintf(stdout, "I:" __VA_ARGS__)
#define STRINGIFY(x) #x
#define EXPAND(x) STRINGIFY(x)
#ifdef __cplusplus
}
#endif
#endif // TWCOMMON_HPP