summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-17 05:07:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-17 05:07:37 +0000
commitfc6679437861a5dfd842c698a2b3238548a9debc (patch)
tree320e1d9d957c765c52412e7b2be9cfe45110561c /include
parentdf44ade694ffa28e8c72c7f8b699e3aa0af2c9a3 (diff)
downloadruby-fc6679437861a5dfd842c698a2b3238548a9debc.tar.gz
ruby-fc6679437861a5dfd842c698a2b3238548a9debc.tar.xz
ruby-fc6679437861a5dfd842c698a2b3238548a9debc.zip
* include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from
ENC_CODERANGE_8BIT. * string.c (rb_enc_str_coderange): follow the renaming. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/encoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index 4816e80fd..eb27dfb62 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)