We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3163

Summary: Android JNI functions should be declared with JNICALL.
Product: SDL Reporter: Hak Matsuda <hakuro>
Component: mainAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: philipp.wiesemann
Version: 2.0.3   
Hardware: Other   
OS: Android (All)   

Description Hak Matsuda 2015-11-03 03:01:13 UTC
Android JNI functions should be declared with JNICALL, so that it works with *-hardfloat gracefully.
Other than that the user can not use hardfloat ABI since JNI call will be broken.
Comment 1 Philipp Wiesemann 2015-11-03 20:56:15 UTC
Thanks for reporting this problem.

If this is just in "SDL_android_main.c" then it should have been fixed with bug #3083.
Comment 2 Hak Matsuda 2015-11-03 21:09:39 UTC
Thanks for quick reply.

Particularly I'm seeing an issue with Java_org_libsdl_app_SDLActivity_onNativeTouch in SDK_Android.c, sorry if I'm overlooking if it's already fixed. :)
Comment 3 Philipp Wiesemann 2015-11-03 21:47:58 UTC
That was fixed earlier (but after 2.0.3 was released) with bug #2523.
Comment 4 Hak Matsuda 2015-11-03 22:47:26 UTC
Cool! Thanks for checking and I will await for the next release :)
Comment 5 Philipp Wiesemann 2016-07-19 20:09:01 UTC
This was fixed.

*** This bug has been marked as a duplicate of bug 2523 ***