Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4a3484af
Kaydet (Commit)
4a3484af
authored
Agu 18, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cleanup symbol export conditionals.
Change-Id: Ic25500637f1748bf117bafd7483d589729a2e658
üst
3b569f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
23 deletions
+5
-23
init.cxx
desktop/source/lib/init.cxx
+5
-23
No files found.
desktop/source/lib/init.cxx
Dosyayı görüntüle @
4a3484af
...
...
@@ -1063,19 +1063,9 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
return
bInitialized
;
}
// Undo our clever trick of having SAL_DLLPUBLIC_EXPORT actually not
// meaning what is says in for the DISABLE_DYNLOADING case. See
// <sal/types.h>. Normally, when building just one big dylib (Android)
// or executable (iOS), most of our "public" symbols don't need to be
// visible outside that resulting dylib/executable. But
// libreofficekit_hook must be exported for dlsym() to find it,
// though, at least on iOS.
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) && defined(DISABLE_DYNLOADING)
__attribute__
((
visibility
(
"default"
)))
#else
SAL_DLLPUBLIC_EXPORT
#endif
// SAL_JNI_EXPORT to handle DISABLE_DYNLOADING case.
SAL_JNI_EXPORT
LibreOfficeKit
*
libreofficekit_hook_2
(
const
char
*
install_path
,
const
char
*
user_profile_path
)
{
if
(
!
gImpl
)
...
...
@@ -1091,21 +1081,13 @@ LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user
return
static_cast
<
LibreOfficeKit
*>
(
gImpl
);
}
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) && defined(DISABLE_DYNLOADING)
__attribute__
((
visibility
(
"default"
)))
#else
SAL_DLLPUBLIC_EXPORT
#endif
SAL_JNI_EXPORT
LibreOfficeKit
*
libreofficekit_hook
(
const
char
*
install_path
)
{
return
libreofficekit_hook_2
(
install_path
,
NULL
);
}
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) && defined(DISABLE_DYNLOADING)
__attribute__
((
visibility
(
"default"
)))
#else
SAL_DLLPUBLIC_EXPORT
#endif
SAL_JNI_EXPORT
int
lok_preinit
()
{
SAL_INFO
(
"lok"
,
"Hello World"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment