[Python-checkins] CVS: python/dist/src/Modules arraymodule.c,2.36,2.37

Guido van Rossum guido@cnri.reston.va.us
2000年1月20日 17:33:26 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/tmp/python/dist/src/Modules
Modified Files:
	arraymodule.c 
Log Message:
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Index: arraymodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** arraymodule.c	1999年12月03日 17:15:30	2.36
--- arraymodule.c	2000年01月20日 22:32:53	2.37
***************
*** 364,368 ****
 	op->ob_size = size;
 	op->ob_descr = descr;
! 	_Py_NewReference(op);
 	return (PyObject *) op;
 }
--- 364,368 ----
 	op->ob_size = size;
 	op->ob_descr = descr;
! 	_Py_NewReference((PyObject *)op);
 	return (PyObject *) op;
 }

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