@@ -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