commit | 72b24b187442eddf5e0bda51000bf7892af6577f | [log] [tgz] |
---|---|---|
author | Sylvain Becker <sylvain.becker@gmail.com> | Thu Dec 12 18:38:36 2019 +0100 |
committer | Sylvain Becker <sylvain.becker@gmail.com> | Thu Dec 12 18:38:36 2019 +0100 |
tree | 0c9ef48d57d58513cde0364f3b41aa36b7d98dc6 | |
parent | e1ba2389e44768edd42703fd83bce9c21579f86b [diff] |
Android: use 'RegisterNatives' to export the native methods "The advantages of RegisterNatives are that you get up-front checking that the symbols exist, plus you can have smaller and faster shared libraries by not exporting anything but JNI_OnLoad" https://developer.android.com/training/articles/perf-jni#native-libraries