diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-18 08:28:39 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-18 08:28:39 +0000 |
commit | 2521b33ed74822cb6e81a180bfbcfff3e1683815 (patch) | |
tree | 834de15f9d5c89449fe1bbeea9d4f905b35aad12 /include/ruby/intern.h | |
parent | 98da73bc963e17b25c9df961f407c91cffbfc2f4 (diff) | |
download | ruby-2521b33ed74822cb6e81a180bfbcfff3e1683815.tar.gz |
* object.c (rb_obj_freeze): preserve frozen state of immediate
values in internal hash table, a la generic_ivar.
* object.c (rb_obj_frozen_p): check immediate values too.
* variable.c (generic_ivar_set): add frozen check fro immediate
values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 42f61a91bc..37cec43d4c 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -385,6 +385,7 @@ VALUE rb_obj_taint(VALUE); VALUE rb_obj_tainted(VALUE); VALUE rb_obj_untaint(VALUE); VALUE rb_obj_freeze(VALUE); +VALUE rb_obj_frozen_p(VALUE); VALUE rb_obj_id(VALUE); VALUE rb_obj_class(VALUE); VALUE rb_class_real(VALUE); |