diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-13 15:02:02 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-13 15:02:02 (GMT) |
commit | 65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0 (patch) | |
tree | 97ea112375ea86c214559e5dc0eeddc434e93132 /Mac/Modules/waste/wastemodule.c | |
parent | 55309a31df89d83c996426413915c1717b367a8d (diff) | |
download | cpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.zip cpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.tar.gz cpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.tar.bz2 |
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
Diffstat (limited to 'Mac/Modules/waste/wastemodule.c')
-rw-r--r-- | Mac/Modules/waste/wastemodule.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Mac/Modules/waste/wastemodule.c b/Mac/Modules/waste/wastemodule.c index aa31e30..c5e3941 100644 --- a/Mac/Modules/waste/wastemodule.c +++ b/Mac/Modules/waste/wastemodule.c @@ -43,8 +43,7 @@ static PyObject *ExistingwasteObj_New(WEReference); ** Parse/generate TextStyle records */ static -PyObject *TextStyle_New(itself) - TextStylePtr itself; +PyObject *TextStyle_New(TextStylePtr itself) { return Py_BuildValue("lllO&", (long)itself->tsFont, (long)itself->tsFace, (long)itself->tsSize, QdRGB_New, @@ -52,9 +51,7 @@ PyObject *TextStyle_New(itself) } static -TextStyle_Convert(v, p_itself) - PyObject *v; - TextStylePtr p_itself; +TextStyle_Convert(PyObject *v, TextStylePtr p_itself) { long font, face, size; @@ -70,8 +67,7 @@ TextStyle_Convert(v, p_itself) ** Parse/generate RunInfo records */ static -PyObject *RunInfo_New(itself) - WERunInfo *itself; +PyObject *RunInfo_New(WERunInfo *itself) { return Py_BuildValue("llhhO&O&", itself->runStart, itself->runEnd, itself->runHeight, |