Skip to content

Commit 5a8bfe9

Browse files
committed
consistent arg naming
1 parent b76fe22 commit 5a8bfe9

File tree

1 file changed

+3
-2
lines changed
  • pythonforandroid/bootstraps/service_only/build/jni/src

1 file changed

+3
-2
lines changed

pythonforandroid/bootstraps/service_only/build/jni/src/start.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ int main(int argc, char *argv[]) {
279279
}
280280

281281
JNIEXPORT void JNICALL Java_org_kivy_android_PythonService_nativeStart(
282-
JNIEnv *env, jobject thiz, jstring j_android_private,
282+
JNIEnv *env, jobject j_this, jstring j_android_private,
283283
jstring j_android_argument, jstring j_service_entrypoint,
284284
jstring j_python_name, jstring j_python_home, jstring j_python_path,
285285
jstring j_arg) {
@@ -296,7 +296,8 @@ JNIEXPORT void JNICALL Java_org_kivy_android_PythonService_nativeStart(
296296
(*env)->GetStringUTFChars(env, j_python_home, &iscopy);
297297
const char *python_path =
298298
(*env)->GetStringUTFChars(env, j_python_path, &iscopy);
299-
const char *arg = (*env)->GetStringUTFChars(env, j_arg, &iscopy);
299+
const char *arg =
300+
(*env)->GetStringUTFChars(env, j_arg, &iscopy);
300301

301302
setenv("ANDROID_PRIVATE", android_private, 1);
302303
setenv("ANDROID_ARGUMENT", android_argument, 1);

0 commit comments

Comments
 (0)