mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.
This commit is contained in:
parent
269b2a6797
commit
ecc6635ae4
3 changed files with 8 additions and 8 deletions
|
@ -415,7 +415,7 @@ PyMac_BuildPoint(Point p)
|
|||
int
|
||||
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
|
||||
{
|
||||
return PyArg_Parse(v, "(Hll(hh)H)",
|
||||
return PyArg_Parse(v, "(HKK(hh)H)",
|
||||
&e->what,
|
||||
&e->message,
|
||||
&e->when,
|
||||
|
@ -471,7 +471,7 @@ PyMac_Getwide(PyObject *v, wide *rv)
|
|||
rv->hi = -1;
|
||||
return 1;
|
||||
}
|
||||
return PyArg_Parse(v, "(ll)", &rv->hi, &rv->lo);
|
||||
return PyArg_Parse(v, "(KK)", &rv->hi, &rv->lo);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue