diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-25 15:46:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-25 15:46:50 (GMT) |
commit | e742a82067c29786287ce8c6500b68220e9921de (patch) | |
tree | 1c1cca7b6825393e821cd1154bb5a19177cd69c1 /Mac/Modules | |
parent | d6b6d88505e3d499ac8e2e4d5c0b45c9a91fa743 (diff) | |
download | cpython-e742a82067c29786287ce8c6500b68220e9921de.zip cpython-e742a82067c29786287ce8c6500b68220e9921de.tar.gz cpython-e742a82067c29786287ce8c6500b68220e9921de.tar.bz2 |
Regenerated because of confusion with Style/StyleParameter and
Char/CharParameter
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/qd/Qdmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Modules/qd/Qdmodule.c b/Mac/Modules/qd/Qdmodule.c index 0fb1a7b..4561feb 100644 --- a/Mac/Modules/qd/Qdmodule.c +++ b/Mac/Modules/qd/Qdmodule.c @@ -3638,7 +3638,7 @@ static PyObject *Qd_TextFace(_self, _args) PyObject *_args; { PyObject *_res = NULL; - Style face; + StyleParameter face; if (!PyArg_ParseTuple(_args, "h", &face)) return NULL; @@ -3699,7 +3699,7 @@ static PyObject *Qd_DrawChar(_self, _args) { PyObject *_res = NULL; CharParameter ch; - if (!PyArg_ParseTuple(_args, "c", + if (!PyArg_ParseTuple(_args, "h", &ch)) return NULL; DrawChar(ch); @@ -3754,7 +3754,7 @@ static PyObject *Qd_CharWidth(_self, _args) PyObject *_res = NULL; short _rv; CharParameter ch; - if (!PyArg_ParseTuple(_args, "c", + if (!PyArg_ParseTuple(_args, "h", &ch)) return NULL; _rv = CharWidth(ch); @@ -4254,7 +4254,7 @@ static PyMethodDef Qd_methods[] = { {"TextFont", (PyCFunction)Qd_TextFont, 1, "(short font) -> None"}, {"TextFace", (PyCFunction)Qd_TextFace, 1, - "(Style face) -> None"}, + "(StyleParameter face) -> None"}, {"TextMode", (PyCFunction)Qd_TextMode, 1, "(short mode) -> None"}, {"TextSize", (PyCFunction)Qd_TextSize, 1, |