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
b6a9f356
Kaydet (Commit)
b6a9f356
authored
Agu 21, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Link cppu statically to gcc3_uno on iOS
üst
c209bef8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
environment.h
cppu/inc/uno/environment.h
+5
-1
lbenv.cxx
cppu/source/uno/lbenv.cxx
+10
-0
loadmodule.cxx
cppu/source/uno/loadmodule.cxx
+0
-4
libs.mk
solenv/inc/libs.mk
+4
-0
No files found.
cppu/inc/uno/environment.h
Dosyayı görüntüle @
b6a9f356
...
...
@@ -375,7 +375,11 @@ void SAL_CALL uno_Environment_enter(uno_Environment * pEnv)
int
SAL_CALL
uno_Environment_isValid
(
uno_Environment
*
pEnv
,
rtl_uString
**
pReason
)
SAL_THROW_EXTERN_C
();
#ifdef IOS
/* We link statically on iOS and have just one kind of environment */
void
SAL_CALL
gcc3_uno_initEnvironment
(
uno_Environment
*
pCppEnv
)
SAL_THROW_EXTERN_C
();
#endif
#ifdef __cplusplus
}
...
...
cppu/source/uno/lbenv.cxx
Dosyayı görüntüle @
b6a9f356
...
...
@@ -1064,6 +1064,14 @@ static bool loadEnv(OUString const & cLibStem,
uno_Environment
*
pEnv
,
void
*
/*pContext*/
)
{
#ifdef IOS
oslModule
hMod
;
uno_initEnvironmentFunc
fpInit
=
NULL
;
if
(
cLibStem
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"gcc3_uno"
))
)
fpInit
=
gcc3_uno_initEnvironment
;
osl_getModuleHandle
(
NULL
,
&
hMod
);
#else
// late init with some code from matching uno language binding
// will be unloaded by environment
oslModule
hMod
=
cppu
::
detail
::
loadModule
(
cLibStem
);
...
...
@@ -1074,6 +1082,8 @@ static bool loadEnv(OUString const & cLibStem,
OUString
aSymbolName
(
RTL_CONSTASCII_USTRINGPARAM
(
UNO_INIT_ENVIRONMENT
));
uno_initEnvironmentFunc
fpInit
=
(
uno_initEnvironmentFunc
)
::
osl_getFunctionSymbol
(
hMod
,
aSymbolName
.
pData
);
#endif
if
(
!
fpInit
)
{
::
osl_unloadModule
(
hMod
);
...
...
cppu/source/uno/loadmodule.cxx
Dosyayı görüntüle @
b6a9f356
...
...
@@ -41,9 +41,6 @@
namespace
cppu
{
namespace
detail
{
::
oslModule
loadModule
(
rtl
::
OUString
const
&
name
)
{
#ifdef IOS
return
NULL
;
#else
rtl
::
OUStringBuffer
b
;
#if defined SAL_DLLPREFIX
b
.
appendAscii
(
RTL_CONSTASCII_STRINGPARAM
(
SAL_DLLPREFIX
));
...
...
@@ -54,7 +51,6 @@ namespace cppu { namespace detail {
reinterpret_cast
<
oslGenericFunction
>
(
&
loadModule
),
b
.
makeStringAndClear
().
pData
,
SAL_LOADMODULE_GLOBAL
|
SAL_LOADMODULE_LAZY
);
#endif
}
}
}
...
...
solenv/inc/libs.mk
Dosyayı görüntüle @
b6a9f356
...
...
@@ -323,8 +323,12 @@ REGLIB+=$(STORELIB)
BOOTSTRAPUNOLIB=$(SOLARLIBDIR)/bootstrap.uno.a
BOOTSTRAPUNOLIB+=$(SALHELPERLIB) $(REGLIB) $(XMLREADERLIB)
GCC3UNOLIB=-lgcc3_uno
SALLIB+=-lsal_textenc
CPPULIB+=$(GCC3UNOLIB)
CPPUHELPERLIB+=$(BOOTSTRAPUNOLIB)
UCBHELPERLIB+=$(SALHELPERLIB)
...
...
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