2 // Created by dell on 2017/9/1.
9 #include <android/log.h>
14 #define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE,TAG,__VA_ARGS__)
15 #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,TAG,__VA_ARGS__)
16 #define LOGI(...) __android_log_print(ANDROID_LOG_INFO,TAG,__VA_ARGS__)
17 #define LOGW(...) __android_log_print(ANDROID_LOG_WARN,TAG,__VA_ARGS__)
18 #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,TAG,__VA_ARGS__)
20 // a global jvm instance
23 // get current env for jvm
26 // detach native thread from jvm, must native thread can detach!
35 CMD
*parse_command_line(const char *commandStr
);
37 // cmd arg struct free
38 void free_command_line(CMD
*);