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
1bd7127f
Kaydet (Commit)
1bd7127f
authored
Nis 12, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get rid of some warnings on Mac
üst
97300387
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
_CarbonEvtmodule.c
Mac/Modules/carbonevt/_CarbonEvtmodule.c
+2
-2
_Qdmodule.c
Mac/Modules/qd/_Qdmodule.c
+1
-4
No files found.
Mac/Modules/carbonevt/_CarbonEvtmodule.c
Dosyayı görüntüle @
1bd7127f
...
@@ -40,7 +40,7 @@ EventTypeSpec_Convert(PyObject *v, EventTypeSpec *out)
...
@@ -40,7 +40,7 @@ EventTypeSpec_Convert(PyObject *v, EventTypeSpec *out)
PyMac_GetOSType
,
&
(
out
->
eventClass
),
PyMac_GetOSType
,
&
(
out
->
eventClass
),
&
(
out
->
eventKind
)))
&
(
out
->
eventKind
)))
return
1
;
return
1
;
return
NULL
;
return
0
;
}
}
/********** end EventTypeSpec *******/
/********** end EventTypeSpec *******/
...
@@ -78,7 +78,7 @@ EventHotKeyID_Convert(PyObject *v, EventHotKeyID *out)
...
@@ -78,7 +78,7 @@ EventHotKeyID_Convert(PyObject *v, EventHotKeyID *out)
{
{
if
(
PyArg_ParseTuple
(
v
,
"ll"
,
&
out
->
signature
,
&
out
->
id
))
if
(
PyArg_ParseTuple
(
v
,
"ll"
,
&
out
->
signature
,
&
out
->
id
))
return
1
;
return
1
;
return
NULL
;
return
0
;
}
}
/********** end EventHotKeyID *******/
/********** end EventHotKeyID *******/
...
...
Mac/Modules/qd/_Qdmodule.c
Dosyayı görüntüle @
1bd7127f
...
@@ -5824,7 +5824,6 @@ static PyObject *Qd_MacDrawText(PyObject *_self, PyObject *_args)
...
@@ -5824,7 +5824,6 @@ static PyObject *Qd_MacDrawText(PyObject *_self, PyObject *_args)
{
{
PyObject
*
_res
=
NULL
;
PyObject
*
_res
=
NULL
;
char
*
textBuf__in__
;
char
*
textBuf__in__
;
int
textBuf__len__
;
int
textBuf__in_len__
;
int
textBuf__in_len__
;
short
firstByte
;
short
firstByte
;
short
byteCount
;
short
byteCount
;
...
@@ -5885,7 +5884,6 @@ static PyObject *Qd_TextWidth(PyObject *_self, PyObject *_args)
...
@@ -5885,7 +5884,6 @@ static PyObject *Qd_TextWidth(PyObject *_self, PyObject *_args)
PyObject
*
_res
=
NULL
;
PyObject
*
_res
=
NULL
;
short
_rv
;
short
_rv
;
char
*
textBuf__in__
;
char
*
textBuf__in__
;
int
textBuf__len__
;
int
textBuf__in_len__
;
int
textBuf__in_len__
;
short
firstByte
;
short
firstByte
;
short
byteCount
;
short
byteCount
;
...
@@ -6471,7 +6469,6 @@ static PyObject *Qd_DrawText(PyObject *_self, PyObject *_args)
...
@@ -6471,7 +6469,6 @@ static PyObject *Qd_DrawText(PyObject *_self, PyObject *_args)
{
{
PyObject
*
_res
=
NULL
;
PyObject
*
_res
=
NULL
;
char
*
textBuf__in__
;
char
*
textBuf__in__
;
int
textBuf__len__
;
int
textBuf__in_len__
;
int
textBuf__in_len__
;
short
firstByte
;
short
firstByte
;
short
byteCount
;
short
byteCount
;
...
@@ -6534,7 +6531,7 @@ static PyObject *Qd_RawBitMap(PyObject *_self, PyObject *_args)
...
@@ -6534,7 +6531,7 @@ static PyObject *Qd_RawBitMap(PyObject *_self, PyObject *_args)
return
NULL
;
return
NULL
;
if
(
PyString_Size
(
source
)
!=
sizeof
(
BitMap
)
&&
PyString_Size
(
source
)
!=
sizeof
(
PixMap
)
)
{
if
(
PyString_Size
(
source
)
!=
sizeof
(
BitMap
)
&&
PyString_Size
(
source
)
!=
sizeof
(
PixMap
)
)
{
PyErr_Format
(
PyExc_TypeError
,
PyErr_Format
(
PyExc_TypeError
,
"Argument size was %
d, should be %d (sizeof BitMap) or %d
(sizeof PixMap)"
,
"Argument size was %
ld, should be %lu (sizeof BitMap) or %lu
(sizeof PixMap)"
,
PyString_Size
(
source
),
sizeof
(
BitMap
),
sizeof
(
PixMap
));
PyString_Size
(
source
),
sizeof
(
BitMap
),
sizeof
(
PixMap
));
return
NULL
;
return
NULL
;
}
}
...
...
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