From e742a82067c29786287ce8c6500b68220e9921de Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 25 Feb 1998 15:46:50 +0000 Subject: Regenerated because of confusion with Style/StyleParameter and Char/CharParameter --- Mac/Modules/qd/Qdmodule.c | 8 ++++---- 1 file 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, -- cgit v0.12