]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Regenerated because of confusion with Style/StyleParameter and
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 25 Feb 1998 15:46:50 +0000 (15:46 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 25 Feb 1998 15:46:50 +0000 (15:46 +0000)
Char/CharParameter

Mac/Modules/qd/Qdmodule.c

index 0fb1a7b6f6b387460efb53cbf49135b5ee30530e..4561feba4155ef41d0058a41d2e81eab5ffb956b 100644 (file)
@@ -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,