[Python-checkins] python/dist/src/Python mactoolboxglue.c,1.17,1.18
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 17 Apr 2003 13:40:40 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv16980/Python
Modified Files:
mactoolboxglue.c
Log Message:
Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.
Index: mactoolboxglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/mactoolboxglue.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mactoolboxglue.c 2 Mar 2003 23:16:50 -0000 1.17
--- mactoolboxglue.c 17 Apr 2003 20:40:05 -0000 1.18
***************
*** 416,420 ****
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
{
! return PyArg_Parse(v, "(Hll(hh)H)",
&e->what,
&e->message,
--- 416,420 ----
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
{
! return PyArg_Parse(v, "(HKK(hh)H)",
&e->what,
&e->message,
***************
*** 472,476 ****
return 1;
}
! return PyArg_Parse(v, "(ll)", &rv->hi, &rv->lo);
}
--- 472,476 ----
return 1;
}
! return PyArg_Parse(v, "(KK)", &rv->hi, &rv->lo);
}