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
7021bfe8
Kaydet (Commit)
7021bfe8
authored
Nis 15, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Modify for static linking (DISABLE_DYNLOADING, i.e. iOS)
üst
906aa9de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
stocservices.cxx
stoc/source/stocservices/stocservices.cxx
+19
-1
No files found.
stoc/source/stocservices/stocservices.cxx
Dosyayı görüntüle @
7021bfe8
...
@@ -41,6 +41,17 @@ using namespace cppu;
...
@@ -41,6 +41,17 @@ using namespace cppu;
using
namespace
osl
;
using
namespace
osl
;
using
namespace
stoc_services
;
using
namespace
stoc_services
;
#ifdef DISABLE_DYNLOADING
// Do we really to have non-static global variable with the same name
// g_moduleCount in *all* (more or less, it seems) modules even in the
// normal dynamic loading case? Weird. Anyway, in the DISABLE_DYNLOADING
// case we have no use for these, and they can't be the same name.
#define g_moduleCount g_stocservices_moduleCount
#endif
rtl_StandardModuleCount
g_moduleCount
=
MODULE_COUNT_INIT
;
rtl_StandardModuleCount
g_moduleCount
=
MODULE_COUNT_INIT
;
static
struct
ImplementationEntry
g_entries
[]
=
static
struct
ImplementationEntry
g_entries
[]
=
...
@@ -88,12 +99,19 @@ static struct ImplementationEntry g_entries[] =
...
@@ -88,12 +99,19 @@ static struct ImplementationEntry g_entries[] =
extern
"C"
extern
"C"
{
{
#ifndef DISABLE_DYNLOADING
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
component_canUnload
(
TimeValue
*
pTime
)
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
component_canUnload
(
TimeValue
*
pTime
)
{
{
return
g_moduleCount
.
canUnload
(
&
g_moduleCount
,
pTime
);
return
g_moduleCount
.
canUnload
(
&
g_moduleCount
,
pTime
);
}
}
//==================================================================================================
#endif
#ifdef DISABLE_DYNLOADING
#define component_getFactory stocservices_component_getFactory
#endif
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
{
...
...
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