diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 18:22:17 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 18:22:17 +0000 |
commit | 5016b37ae4960708aa111a8b13b07b32b5abb3fd (patch) | |
tree | d3fa68e313edd0b8cae92f9ce36c6a71cf659765 /include | |
parent | 305382bd69339206249db008003baef1bb9461f1 (diff) | |
download | ruby-5016b37ae4960708aa111a8b13b07b32b5abb3fd.tar.gz |
* include/ruby/ruby.h: enable to generate write barrier protected
objects (T_STRING).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index a46bf95b06..cbc7ad1a3c 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -689,7 +689,7 @@ VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type); #define RGENGC_WB_PROTECTED_ARRAY 0 #endif #ifndef RGENGC_WB_PROTECTED_STRING -#define RGENGC_WB_PROTECTED_STRING 0 +#define RGENGC_WB_PROTECTED_STRING 1 #endif #ifndef RGENGC_WB_PROTECTED_OBJECT #define RGENGC_WB_PROTECTED_OBJECT 1 |