[Python-checkins] CVS: python/dist/src/Modules sre.h,2.19,2.20
Fredrik Lundh
effbot@users.sourceforge.net
Wed, 27 Jun 2001 11:59:45 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv12059/Modules
Modified Files:
sre.h
Log Message:
use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE
tests.
Index: sre.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/sre.h,v
retrieving revision 2.19
retrieving revision 2.20
diff -C2 -r2.19 -r2.20
*** sre.h 2001/06/26 17:17:07 2.19
--- sre.h 2001/06/27 18:59:43 2.20
***************
*** 14,19 ****
#include "sre_constants.h"
! /* size of a code word (must be unsigned short or larger) */
! #ifdef USE_UCS4_STORAGE
#define SRE_CODE unsigned long
#else
--- 14,20 ----
#include "sre_constants.h"
! /* size of a code word (must be unsigned short or larger, and
! large enough to hold a Py_UNICODE character) */
! #ifdef Py_UNICODE_WIDE
#define SRE_CODE unsigned long
#else