[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.213,2.214

Fredrik Lundh effbot@users.sourceforge.net
2001年6月27日 11:59:45 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv12059/Python
Modified Files:
	bltinmodule.c 
Log Message:
use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE
tests.
Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.213
retrieving revision 2.214
diff -C2 -r2.213 -r2.214
*** bltinmodule.c	2001年06月26日 23:12:25	2.213
--- bltinmodule.c	2001年06月27日 18:59:43	2.214
***************
*** 326,330 ****
 	}
 	else {
! #if Py_UNICODE_SIZE == 2
 		/* UCS-4 character. store as two surrogate characters */
 		x -= 0x10000L;
--- 326,330 ----
 	}
 	else {
! #ifndef Py_UNICODE_WIDE
 		/* UCS-4 character. store as two surrogate characters */
 		x -= 0x10000L;

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