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

Fredrik Lundh effbot@users.sourceforge.net
Wed, 27 Jun 2001 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;