diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 18:21:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 18:21:32 +0000 |
commit | 305382bd69339206249db008003baef1bb9461f1 (patch) | |
tree | af25394a87889becb27c6decf11cc9af1da25a7d /include/ruby/ruby.h | |
parent | 1829147fb58982bf31549e4377f171fd18da8919 (diff) | |
download | ruby-305382bd69339206249db008003baef1bb9461f1.tar.gz |
* include/ruby/ruby.h: enable to generate write barrier protected
objects (T_OBJECT).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
-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 a5bd28a063..a46bf95b06 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -692,7 +692,7 @@ VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type); #define RGENGC_WB_PROTECTED_STRING 0 #endif #ifndef RGENGC_WB_PROTECTED_OBJECT -#define RGENGC_WB_PROTECTED_OBJECT 0 +#define RGENGC_WB_PROTECTED_OBJECT 1 #endif #ifndef RGENGC_WB_PROTECTED_FLOAT #define RGENGC_WB_PROTECTED_FLOAT 1 |