diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-27 18:59:43 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-27 18:59:43 +0000 |
commit | 8f4558583f3b7e2d98e13baec06c2f43c9e6a723 (patch) | |
tree | e0fbd260591171ba41e443fd38b90b61210be03a /Objects/unicodectype.c | |
parent | 3f8c2e1616f1d67730ffef40f3077247dfe46e26 (diff) | |
download | cpython-git-8f4558583f3b7e2d98e13baec06c2f43c9e6a723.tar.gz |
use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE
tests.
Diffstat (limited to 'Objects/unicodectype.c')
-rw-r--r-- | Objects/unicodectype.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/unicodectype.c b/Objects/unicodectype.c index 13fc6128c1..c1b5a0d412 100644 --- a/Objects/unicodectype.c +++ b/Objects/unicodectype.c @@ -68,7 +68,7 @@ Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch) else ch += ctype->upper; -#ifdef USE_UCS4_STORAGE +#ifdef Py_UNICODE_WIDE /* The database assumes that the values wrap around at 0x10000. */ if (ch > 0x10000) ch -= 0x10000; @@ -360,7 +360,7 @@ Py_UNICODE _PyUnicode_ToUppercase(register Py_UNICODE ch) const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); ch += ctype->upper; -#ifdef USE_UCS4_STORAGE +#ifdef Py_UNICODE_WIDE /* The database assumes that the values wrap around at 0x10000. */ if (ch > 0x10000) ch -= 0x10000; @@ -376,7 +376,7 @@ Py_UNICODE _PyUnicode_ToLowercase(register Py_UNICODE ch) const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); ch += ctype->lower; -#ifdef USE_UCS4_STORAGE +#ifdef Py_UNICODE_WIDE /* The database assumes that the values wrap around at 0x10000. */ if (ch > 0x10000) ch -= 0x10000; |