diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-03 07:35:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-03 07:35:35 +0000 |
commit | adf1c94ffe75cea7d6b12ac10809656c15d33079 (patch) | |
tree | 3545d4c664f2bd6dcb03b5638bf374f104c55f4a /internal.h | |
parent | b30a6b8d1d194528a2c84b7e2c73d23a4d25cc42 (diff) | |
download | ruby-adf1c94ffe75cea7d6b12ac10809656c15d33079.tar.gz |
bignum.c: hide intermediate Bignums
* bignum.c (rb_big_eq): hide intermediate Bignums not just freeing
memory. [ruby-core:53893] [Bug #8204]
* object.c (rb_obj_hide): hide an object by clearing klass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 6cb6b91589..b19d321086 100644 --- a/internal.h +++ b/internal.h @@ -196,6 +196,7 @@ VALUE rb_int_pred(VALUE num); /* object.c */ VALUE rb_obj_equal(VALUE obj1, VALUE obj2); +VALUE rb_obj_hide(VALUE obj); /* parse.y */ VALUE rb_parser_get_yydebug(VALUE); |