src/core/android/SDL_android.c
changeset 9858 6d6a972746b3
parent 9640 d86771e28c51
child 9869 4ba43d626c4a
     1.1 --- a/src/core/android/SDL_android.c	Sat Sep 05 20:21:35 2015 +0200
     1.2 +++ b/src/core/android/SDL_android.c	Sat Sep 05 20:21:52 2015 +0200
     1.3 @@ -160,7 +160,7 @@
     1.4  }
     1.5  
     1.6  /* Paddown */
     1.7 -JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_onNativePadDown(
     1.8 +JNIEXPORT jint JNICALL Java_org_libsdl_app_SDLActivity_onNativePadDown(
     1.9                                      JNIEnv* env, jclass jcls,
    1.10                                      jint device_id, jint keycode)
    1.11  {
    1.12 @@ -168,7 +168,7 @@
    1.13  }
    1.14  
    1.15  /* Padup */
    1.16 -JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_onNativePadUp(
    1.17 +JNIEXPORT jint JNICALL Java_org_libsdl_app_SDLActivity_onNativePadUp(
    1.18                                     JNIEnv* env, jclass jcls,
    1.19                                     jint device_id, jint keycode)
    1.20  {
    1.21 @@ -192,7 +192,7 @@
    1.22  }
    1.23  
    1.24  
    1.25 -JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeAddJoystick(
    1.26 +JNIEXPORT jint JNICALL Java_org_libsdl_app_SDLActivity_nativeAddJoystick(
    1.27      JNIEnv* env, jclass jcls,
    1.28      jint device_id, jstring device_name, jint is_accelerometer, 
    1.29      jint nbuttons, jint naxes, jint nhats, jint nballs)
    1.30 @@ -207,7 +207,7 @@
    1.31      return retval;
    1.32  }
    1.33  
    1.34 -JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeRemoveJoystick(
    1.35 +JNIEXPORT jint JNICALL Java_org_libsdl_app_SDLActivity_nativeRemoveJoystick(
    1.36      JNIEnv* env, jclass jcls, jint device_id)
    1.37  {
    1.38      return Android_RemoveJoystick(device_id);