diff options
Diffstat (limited to 'src/main/jni/utils.h')
-rw-r--r-- | src/main/jni/utils.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/main/jni/utils.h b/src/main/jni/utils.h deleted file mode 100644 index f17ae9025..000000000 --- a/src/main/jni/utils.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef log_h -#define log_h - -#include <android/log.h> -#include <jni.h> - -#define LOG_TAG "tmessages" -#ifndef LOG_DISABLED -#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) -#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) -#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) -#define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__) -#else -#define LOGI(...) -#define LOGD(...) -#define LOGE(...) -#define LOGV(...) -#endif - -#ifndef max -#define max(x, y) ((x) > (y)) ? (x) : (y) -#endif -#ifndef min -#define min(x, y) ((x) < (y)) ? (x) : (y) -#endif - -void throwException(JNIEnv *env, char *format, ...); - -#endif |