Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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ç
Batuhan Osman TASKAYA
cpython
Commits
cced0aa3
Kaydet (Commit)
cced0aa3
authored
Şub 27, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SetListCellIndent() argument was guessed incorrectly. Fixed.
üst
f02f4c88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
Listmodule.c
Mac/Modules/list/Listmodule.c
+6
-5
listscan.py
Mac/Modules/list/listscan.py
+4
-10
No files found.
Mac/Modules/list/Listmodule.c
Dosyayı görüntüle @
cced0aa3
...
...
@@ -893,13 +893,14 @@ static PyObject *List_SetListCellIndent(_self, _args)
PyObject
*
_res
=
NULL
;
ListHandle
list
;
Point
indent
;
if
(
!
PyArg_ParseTuple
(
_args
,
"O&"
,
ListObj_Convert
,
&
list
))
if
(
!
PyArg_ParseTuple
(
_args
,
"O&O&"
,
ListObj_Convert
,
&
list
,
PyMac_GetPoint
,
&
indent
))
return
NULL
;
SetListCellIndent
(
list
,
&
indent
);
_res
=
Py_BuildValue
(
"O&"
,
PyMac_BuildPoint
,
indent
)
;
Py_INCREF
(
Py_None
);
_res
=
Py_None
;
return
_res
;
}
...
...
@@ -1039,7 +1040,7 @@ static PyMethodDef List_methods[] = {
{
"SetListPort"
,
(
PyCFunction
)
List_SetListPort
,
1
,
"(ListHandle list, CGrafPtr port) -> None"
},
{
"SetListCellIndent"
,
(
PyCFunction
)
List_SetListCellIndent
,
1
,
"(ListHandle list
) -> (Point indent)
"
},
"(ListHandle list
, Point indent) -> None
"
},
{
"SetListClickTime"
,
(
PyCFunction
)
List_SetListClickTime
,
1
,
"(ListHandle list, SInt32 time) -> None"
},
{
"SetListRefCon"
,
(
PyCFunction
)
List_SetListRefCon
,
1
,
...
...
Mac/Modules/list/listscan.py
Dosyayı görüntüle @
cced0aa3
...
...
@@ -74,16 +74,10 @@ class MyScanner(Scanner):
([(
"void"
,
"*"
,
"OutMode"
),
(
"short"
,
"*"
,
"OutMode"
)],
[(
"VarOutBufferShortsize"
,
"*"
,
"InOutMode"
)]),
# ([("void", "wStorage", "OutMode")],
# [("NullStorage", "*", "InMode")]),
#
# # GetKeys
# ([('KeyMap', 'theKeys', 'InMode')],
# [('*', '*', 'OutMode')]),
#
# # GetTicker
# ([('unsigned long', '*', '*')],
# [('unsigned_long', '*', '*')]),
# SetListCellIndent doesn't have const
([(
"Point"
,
"indent"
,
"OutMode"
)],
[(
"Point_ptr"
,
"indent"
,
"InMode"
)]),
]
def
writeinitialdefs
(
self
):
...
...
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