More typing work

This commit is contained in:
Kovid Goyal
2020-03-04 06:10:57 +05:30
parent 5730ce5f53
commit a4cc10c41b
12 changed files with 340 additions and 65 deletions

View File

@@ -152,7 +152,7 @@ fc_match(PyObject UNUSED *self, PyObject *args) {
FcPattern *pat = NULL;
PyObject *ans = NULL;
if (!PyArg_ParseTuple(args, "|zppppdd", &family, &bold, &italic, &spacing, &allow_bitmapped_fonts, &size_in_pts, &dpi)) return NULL;
if (!PyArg_ParseTuple(args, "|zppipdd", &family, &bold, &italic, &spacing, &allow_bitmapped_fonts, &size_in_pts, &dpi)) return NULL;
pat = FcPatternCreate();
if (pat == NULL) return PyErr_NoMemory();