commit | bb3784d6464570a53c5b04ed07674987b80247a2 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Tue Aug 23 16:08:17 2011 +0200 |
committer | David 'Digit' Turner <digit@android.com> | Tue Aug 23 16:08:17 2011 +0200 |
tree | dbb25807e07ef1011ad565ab07b1a25c083c727e | |
parent | beda8a2ff919215f082833acc7265f0a5372f048 [diff] |
ndk: update JNIEXPORT declaration in <jni.h> This patch updates the definition of JNIEXPORT in <jni.h> to use the "default" ELF visibility attribute for JNI_OnLoad and any function that uses the macro for its definition. This is handy when a developer wants to use hidden visibility by default by using a compiler flag like -fvisibility=hidden in its Android.mk or custom build script. Change-Id: I95112932731216a9a4986820a1875edfb3f52e5b