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
97ed907d
Kaydet (Commit)
97ed907d
authored
Eyl 08, 2000
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some of the types are signed 8 bit ints. Fixed.
üst
53bafd97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
wastemodule.c
Mac/Modules/waste/wastemodule.c
+8
-8
wastesupport.py
Mac/Modules/waste/wastesupport.py
+2
-2
No files found.
Mac/Modules/waste/wastemodule.c
Dosyayı görüntüle @
97ed907d
...
...
@@ -786,7 +786,7 @@ static PyObject *wasteObj_WEGetOffset(_self, _args)
_rv
=
WEGetOffset
(
&
thePoint
,
&
edge
,
_self
->
ob_itself
);
_res
=
Py_BuildValue
(
"l
b
"
,
_res
=
Py_BuildValue
(
"l
B
"
,
_rv
,
edge
);
return
_res
;
...
...
@@ -825,7 +825,7 @@ static PyObject *wasteObj_WEFindWord(_self, _args)
WEEdge
edge
;
SInt32
wordStart
;
SInt32
wordEnd
;
if
(
!
PyArg_ParseTuple
(
_args
,
"l
b
"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"l
B
"
,
&
offset
,
&
edge
))
return
NULL
;
...
...
@@ -849,7 +849,7 @@ static PyObject *wasteObj_WEFindLine(_self, _args)
WEEdge
edge
;
SInt32
lineStart
;
SInt32
lineEnd
;
if
(
!
PyArg_ParseTuple
(
_args
,
"l
b
"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"l
B
"
,
&
offset
,
&
edge
))
return
NULL
;
...
...
@@ -873,7 +873,7 @@ static PyObject *wasteObj_WEFindParagraph(_self, _args)
WEEdge
edge
;
SInt32
paragraphStart
;
SInt32
paragraphEnd
;
if
(
!
PyArg_ParseTuple
(
_args
,
"l
b
"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"l
B
"
,
&
offset
,
&
edge
))
return
NULL
;
...
...
@@ -927,7 +927,7 @@ static PyObject *wasteObj_WEGetAlignment(_self, _args)
if
(
!
PyArg_ParseTuple
(
_args
,
""
))
return
NULL
;
_rv
=
WEGetAlignment
(
_self
->
ob_itself
);
_res
=
Py_BuildValue
(
"
b
"
,
_res
=
Py_BuildValue
(
"
B
"
,
_rv
);
return
_res
;
}
...
...
@@ -938,7 +938,7 @@ static PyObject *wasteObj_WESetAlignment(_self, _args)
{
PyObject
*
_res
=
NULL
;
WEAlignment
alignment
;
if
(
!
PyArg_ParseTuple
(
_args
,
"
b
"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"
B
"
,
&
alignment
))
return
NULL
;
WESetAlignment
(
alignment
,
...
...
@@ -2273,7 +2273,7 @@ void initwaste()
waste_Error
=
PyMac_GetOSErrException
();
if
(
waste_Error
==
NULL
||
PyDict_SetItemString
(
d
,
"Error"
,
waste_Error
)
!=
0
)
Py_FatalError
(
"can't initialize waste.Error"
)
;
return
;
WEO_Type
.
ob_type
=
&
PyType_Type
;
Py_INCREF
(
&
WEO_Type
);
if
(
PyDict_SetItemString
(
d
,
"WEOType"
,
(
PyObject
*
)
&
WEO_Type
)
!=
0
)
...
...
@@ -2285,7 +2285,7 @@ void initwaste()
callbackdict
=
PyDict_New
();
if
(
callbackdict
==
NULL
||
PyDict_SetItemString
(
d
,
"callbacks"
,
callbackdict
)
!=
0
)
Py_FatalError
(
"can't initialize Waste.callbackdict"
)
;
return
;
upp_new_handler
=
NewWENewObjectProc
(
my_new_handler
);
upp_dispose_handler
=
NewWEDisposeObjectProc
(
my_dispose_handler
);
upp_draw_handler
=
NewWEDrawObjectProc
(
my_draw_handler
);
...
...
Mac/Modules/waste/wastesupport.py
Dosyayı görüntüle @
97ed907d
...
...
@@ -37,8 +37,8 @@ OptStScrpHandle = OpaqueByValueType("StScrpHandle", "OptResObj")
WEStyleMode
=
Type
(
"WEStyleMode"
,
"H"
)
WEActionKind
=
Type
(
"WEActionKind"
,
"h"
)
WEAlignment
=
Type
(
"WEAlignment"
,
"
b
"
)
WEEdge
=
Type
(
"WEEdge"
,
"
b
"
)
WEAlignment
=
Type
(
"WEAlignment"
,
"
B
"
)
WEEdge
=
Type
(
"WEEdge"
,
"
B
"
)
WEDirection
=
Type
(
"WEDirection"
,
"h"
)
WESoupHandle
=
OpaqueByValueType
(
"WESoupHandle"
,
"ResObj"
)
WEFontTableHandle
=
OpaqueByValueType
(
"WEFontTableHandle"
,
"ResObj"
)
...
...
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