diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 05:07:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 05:07:37 +0000 |
commit | 3f07e548fc8b1247824a008c970fcbcf10116a93 (patch) | |
tree | 320e1d9d957c765c52412e7b2be9cfe45110561c /include/ruby | |
parent | 5a41626dea072a4493984f05ba3aa032919da70d (diff) | |
download | ruby-3f07e548fc8b1247824a008c970fcbcf10116a93.tar.gz |
* include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from
ENC_CODERANGE_8BIT.
* string.c (rb_enc_str_coderange): follow the renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/encoding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 4816e80fd2..eb27dfb625 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -27,7 +27,7 @@ #define ENC_CODERANGE_MASK (FL_USER12|FL_USER13) #define ENC_CODERANGE_UNKNOWN 0 #define ENC_CODERANGE_7BIT FL_USER12 -#define ENC_CODERANGE_8BIT FL_USER13 +#define ENC_CODERANGE_VALID FL_USER13 #define ENC_CODERANGE_BROKEN (FL_USER12|FL_USER13) #define ENC_CODERANGE(obj) (RBASIC(obj)->flags & ENC_CODERANGE_MASK) #define ENC_CODERANGE_ASCIIONLY(obj) (ENC_CODERANGE(obj) == ENC_CODERANGE_7BIT) |