summaryrefslogtreecommitdiffstats
path: root/bridges/source/jni_uno/jni_info.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-08 17:15:07 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-09 09:54:12 +0200
commit031b9d7d864161a595a8f1476abc12afaca9ada4 (patch)
treebdc5d780675ecc8a0aecd29c66e2ef45e6a75402 /bridges/source/jni_uno/jni_info.cxx
parentUse JNIEXPORT as in the corresponding headers (diff)
downloadcore-031b9d7d864161a595a8f1476abc12afaca9ada4.tar.gz
core-031b9d7d864161a595a8f1476abc12afaca9ada4.zip
Use JNIEXPORT to really export these for Android
Now with DISABLE_DYNLOADING, SAL_DLLPUBLIC_EXPORT actually means hidden visibilty. Which is OK in general as with a single DSO (or a single executable, for iOS), none of our "normal" entry points need to be visible froom the outside. So for the JNI entry points use JNIEXPORT. On "normal" platforms it should be equivalent to SAL_DLLPUBLIC_EXPORT. Change-Id: Iad634950e635ac03a0e90cae6d00afd9fb4eeb64
Diffstat (limited to 'bridges/source/jni_uno/jni_info.cxx')
-rw-r--r--bridges/source/jni_uno/jni_info.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx
index 8274f20858c7..1e0378db0850 100644
--- a/bridges/source/jni_uno/jni_info.cxx
+++ b/bridges/source/jni_uno/jni_info.cxx
@@ -985,7 +985,7 @@ extern "C"
{
//------------------------------------------------------------------------------
-SAL_DLLPUBLIC_EXPORT void
+JNIEXPORT void
JNICALL Java_com_sun_star_bridges_jni_1uno_JNI_1info_1holder_finalize__J(
JNIEnv * jni_env, SAL_UNUSED_PARAMETER jobject, jlong jni_info_handle )
SAL_THROW_EXTERN_C()