Skip to content

Commit

Permalink
Fixed bug 3083 - Android JNIEXPORT and JNICALL missing
Browse files Browse the repository at this point in the history
Martin Gerhardy

Just a minor thing, but a huge outcome. All the other jni related functions already have those flags, but the nativeInit function lacks them - so it might be stripped away.
  • Loading branch information
slouken committed Aug 2, 2015
1 parent 5a3cc7f commit 270f38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/android/SDL_android_main.c
Expand Up @@ -17,7 +17,7 @@
extern void SDL_Android_Init(JNIEnv* env, jclass cls);

/* Start up the SDL app */
int Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array)
JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array)
{
int i;
int argc;
Expand Down

0 comments on commit 270f38d

Please sign in to comment.