Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e742a82

Browse files
committed
Regenerated because of confusion with Style/StyleParameter and
Char/CharParameter
1 parent d6b6d88 commit e742a82

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Mac/Modules/qd/Qdmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3638,7 +3638,7 @@ static PyObject *Qd_TextFace(_self, _args)
36383638
PyObject *_args;
36393639
{
36403640
PyObject *_res = NULL;
3641-
Style face;
3641+
StyleParameter face;
36423642
if (!PyArg_ParseTuple(_args, "h",
36433643
&face))
36443644
return NULL;
@@ -3699,7 +3699,7 @@ static PyObject *Qd_DrawChar(_self, _args)
36993699
{
37003700
PyObject *_res = NULL;
37013701
CharParameter ch;
3702-
if (!PyArg_ParseTuple(_args, "c",
3702+
if (!PyArg_ParseTuple(_args, "h",
37033703
&ch))
37043704
return NULL;
37053705
DrawChar(ch);
@@ -3754,7 +3754,7 @@ static PyObject *Qd_CharWidth(_self, _args)
37543754
PyObject *_res = NULL;
37553755
short _rv;
37563756
CharParameter ch;
3757-
if (!PyArg_ParseTuple(_args, "c",
3757+
if (!PyArg_ParseTuple(_args, "h",
37583758
&ch))
37593759
return NULL;
37603760
_rv = CharWidth(ch);
@@ -4254,7 +4254,7 @@ static PyMethodDef Qd_methods[] = {
42544254
{"TextFont", (PyCFunction)Qd_TextFont, 1,
42554255
"(short font) -> None"},
42564256
{"TextFace", (PyCFunction)Qd_TextFace, 1,
4257-
"(Style face) -> None"},
4257+
"(StyleParameter face) -> None"},
42584258
{"TextMode", (PyCFunction)Qd_TextMode, 1,
42594259
"(short mode) -> None"},
42604260
{"TextSize", (PyCFunction)Qd_TextSize, 1,

0 commit comments

Comments
 (0)