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 - Android JNI functions should be declared with JNICALL.
Summary: Android JNI functions should be declared with JNICALL.
Status: RESOLVED DUPLICATE of bug 2523
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: 2.0.3
Hardware: Other Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 03:01 UTC by Hak Matsuda
Modified: 2016-07-19 20:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***