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
0c340936
Kaydet (Commit)
0c340936
authored
Agu 17, 2011
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
TMP_LIONEL_NOTES
üst
d6ed363c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
pyuno_module.cxx
pyuno/source/module/pyuno_module.cxx
+9
-0
No files found.
pyuno/source/module/pyuno_module.cxx
Dosyayı görüntüle @
0c340936
...
@@ -75,6 +75,14 @@ namespace {
...
@@ -75,6 +75,14 @@ namespace {
/**
/**
@ index of the next to be used member in the initializer list !
@ index of the next to be used member in the initializer list !
*/
*/
// LEM TODO: export member names as keyword arguments in initialiser?
// Python supports very flexible variadic functions. By marking
// variables with one asterisk (e.g. *var) the given variable is
// defined to be a tuple of all the extra arguments. By marking
// variables with two asterisks (e.g. **var) the given variable is a
// dictionary of all extra keyword arguments; the keys are strings,
// which are the names that were used to identify the arguments. If
// they exist, these arguments must be the last one in the list.
sal_Int32
fillStructWithInitializer
(
sal_Int32
fillStructWithInitializer
(
const
Reference
<
XInvocation2
>
&
inv
,
const
Reference
<
XInvocation2
>
&
inv
,
typelib_CompoundTypeDescription
*
pCompType
,
typelib_CompoundTypeDescription
*
pCompType
,
...
@@ -90,6 +98,7 @@ sal_Int32 fillStructWithInitializer(
...
@@ -90,6 +98,7 @@ sal_Int32 fillStructWithInitializer(
int
i
;
int
i
;
for
(
i
=
0
;
i
<
pCompType
->
nMembers
;
i
++
)
for
(
i
=
0
;
i
<
pCompType
->
nMembers
;
i
++
)
{
{
// LEM TODO: and if too many? Silently ignored?
if
(
i
+
nIndex
>=
nTupleSize
)
if
(
i
+
nIndex
>=
nTupleSize
)
{
{
OUStringBuffer
buf
;
OUStringBuffer
buf
;
...
...
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