[Python-checkins] CVS: python/dist/src/Objects object.c,2.124.4.17,2.124.4.18

Guido van Rossum gvanrossum@users.sourceforge.net
2001年6月29日 08:51:41 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv11657
Modified Files:
 Tag: descr-branch
	object.c 
Log Message:
Put the new PyType_BASICSIZE() macro to use.
Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.124.4.17
retrieving revision 2.124.4.18
diff -C2 -r2.124.4.17 -r2.124.4.18
*** object.c	2001年06月29日 15:05:58	2.124.4.17
--- object.c	2001年06月29日 15:51:39	2.124.4.18
***************
*** 1090,1094 ****
 		return NULL;
 	if (dictoffset < 0) {
! 		dictoffset += tp->tp_basicsize;
 		assert(dictoffset > 0); /* Sanity check */
 		if (tp->tp_itemsize > 0) {
--- 1090,1094 ----
 		return NULL;
 	if (dictoffset < 0) {
! 		dictoffset += PyType_BASICSIZE(tp);
 		assert(dictoffset > 0); /* Sanity check */
 		if (tp->tp_itemsize > 0) {

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