Commit 58b323f192315dcf222f2f4b1f7097c680aa5845

Philipp Wiesemann 2016-07-17T21:43:12

Android: Fixed missing export of a JNI function (thanks, Andrii!). Fixes Bugzilla #3393.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c
index 4984349..493ad2e 100644
--- a/src/core/android/SDL_android.c
+++ b/src/core/android/SDL_android.c
@@ -139,7 +139,7 @@ JNIEXPORT void JNICALL SDL_Android_Init(JNIEnv* mEnv, jclass cls)
 }
 
 /* Drop file */
-void Java_org_libsdl_app_SDLActivity_onNativeDropFile(
+JNIEXPORT void JNICALL Java_org_libsdl_app_SDLActivity_onNativeDropFile(
                                     JNIEnv* env, jclass jcls,
                                     jstring filename)
 {