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
92bface8
Kaydet (Commit)
92bface8
authored
Mar 02, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Turn function-like macro into true function
Change-Id: I70330b1f4844f33779f814377afaf90e0a219b1d
üst
e8eec3b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
strtmpl.cxx
sal/rtl/strtmpl.cxx
+8
-4
No files found.
sal/rtl/strtmpl.cxx
Dosyayı görüntüle @
92bface8
...
@@ -1191,10 +1191,14 @@ static IMPL_RTL_STRCODE* IMPL_RTL_STRINGNAME( ImplNewCopy )( IMPL_RTL_STRINGDATA
...
@@ -1191,10 +1191,14 @@ static IMPL_RTL_STRCODE* IMPL_RTL_STRINGNAME( ImplNewCopy )( IMPL_RTL_STRINGDATA
/* String-Class functions */
/* String-Class functions */
/* ======================================================================= */
/* ======================================================================= */
#define IMPL_RTL_ACQUIRE( pThis ) \
namespace
{
{ \
if (!SAL_STRING_IS_STATIC (pThis)) \
void
IMPL_RTL_ACQUIRE
(
IMPL_RTL_STRINGDATA
*
pThis
)
osl_atomic_increment( &((pThis)->refCount) ); \
{
if
(
!
SAL_STRING_IS_STATIC
(
pThis
))
osl_atomic_increment
(
&
((
pThis
)
->
refCount
)
);
}
}
}
/* ----------------------------------------------------------------------- */
/* ----------------------------------------------------------------------- */
...
...
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