Astyle a cpp file in the android test project
This gets rid of indentation with tabs.
This commit is contained in:
parent
ad9e65b96a
commit
65d6826470
@ -11,21 +11,21 @@ extern "C"
|
||||
JNIEXPORT void JNICALL Java_com_wels_enc_WelsEncTest_DoEncoderAutoTest
|
||||
(JNIEnv* env, jobject thiz, jstring jsIncfgName, jstring jsInlayerName, jstring jsInyuvName, jstring jsOutbitName) {
|
||||
/**************** Add the native codes/API *****************/
|
||||
const char* argv[]={
|
||||
(char*)("encConsole.exe"),
|
||||
(char*) ((*env).GetStringUTFChars (jsIncfgName, NULL)),
|
||||
(char*)("-org"),
|
||||
(char*) ((*env).GetStringUTFChars (jsInyuvName, NULL)),
|
||||
(char*)("-bf"),
|
||||
(char*) ((*env).GetStringUTFChars (jsOutbitName, NULL)),
|
||||
(char*)("-numl"),
|
||||
(char*)("1"),
|
||||
(char*)("-lconfig"),
|
||||
(char*)("0"),
|
||||
(char*) ((*env).GetStringUTFChars (jsInlayerName, NULL))
|
||||
const char* argv[] = {
|
||||
(char*) ("encConsole.exe"),
|
||||
(char*) ((*env).GetStringUTFChars (jsIncfgName, NULL)),
|
||||
(char*) ("-org"),
|
||||
(char*) ((*env).GetStringUTFChars (jsInyuvName, NULL)),
|
||||
(char*) ("-bf"),
|
||||
(char*) ((*env).GetStringUTFChars (jsOutbitName, NULL)),
|
||||
(char*) ("-numl"),
|
||||
(char*) ("1"),
|
||||
(char*) ("-lconfig"),
|
||||
(char*) ("0"),
|
||||
(char*) ((*env).GetStringUTFChars (jsInlayerName, NULL))
|
||||
};
|
||||
LOGI ("Start to run JNI module!+++");
|
||||
EncMain(sizeof(argv)/sizeof(argv[0]),(char**)&argv[0]);
|
||||
EncMain (sizeof (argv) / sizeof (argv[0]), (char**)&argv[0]);
|
||||
LOGI ("End to run JNI module!+++");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user