[Python-checkins] CVS: python/dist/src/Mac/Modules/list _Listmodule.c,1.7,1.8

Jack Jansen jackjansen@users.sourceforge.net
2001年12月16日 12:16:01 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/list
In directory usw-pr-cvs1:/tmp/cvs-serv2031/Python/Mac/Modules/list
Modified Files:
	_Listmodule.c 
Log Message:
Adapted for Universal Headers 3.4
Index: _Listmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/list/_Listmodule.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** _Listmodule.c	2001年12月08日 18:02:52	1.7
--- _Listmodule.c	2001年12月16日 20:15:59	1.8
***************
*** 379,384 ****
 	Boolean _rv;
 	Point pt;
! 	short modifiers;
! 	if (!PyArg_ParseTuple(_args, "O&h",
 	 PyMac_GetPoint, &pt,
 	 &modifiers))
--- 379,384 ----
 	Boolean _rv;
 	Point pt;
! 	EventModifiers modifiers;
! 	if (!PyArg_ParseTuple(_args, "O&H",
 	 PyMac_GetPoint, &pt,
 	 &modifiers))
***************
*** 581,585 ****
 	 "(Point cSize) -> None"},
 	{"LClick", (PyCFunction)ListObj_LClick, 1,
! 	 "(Point pt, short modifiers) -> (Boolean _rv)"},
 	{"LAddToCell", (PyCFunction)ListObj_LAddToCell, 1,
 	 "(Buffer dataPtr, Point theCell) -> None"},
--- 581,585 ----
 	 "(Point cSize) -> None"},
 	{"LClick", (PyCFunction)ListObj_LClick, 1,
! 	 "(Point pt, EventModifiers modifiers) -> (Boolean _rv)"},
 	{"LAddToCell", (PyCFunction)ListObj_LAddToCell, 1,
 	 "(Buffer dataPtr, Point theCell) -> None"},

AltStyle によって変換されたページ (->オリジナル) /