diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-22 05:38:41 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-22 05:38:41 +0000 |
commit | 049cdff0eb8ed42503f1c1b5d89268a88744c1e1 (patch) | |
tree | f6d9b005cb4dc82b3d6624be9bd6534a6e061624 | |
parent | 6a50d2723122a9fc98ee38aa689123e5cc7e8de3 (diff) | |
download | ruby-049cdff0eb8ed42503f1c1b5d89268a88744c1e1.tar.gz |
* gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -7,6 +7,10 @@ Wed Dec 22 07:59:23 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * NEWS: add IO#advise. [ruby-core:33110] [Ruby 1.9-Feature#4038] +Tue Dec 21 23:45:31 2010 Yukihiro Matsumoto <matz@ruby-lang.org> + + * gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840] + Tue Dec 21 12:45:16 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (target_archs): remove temporary objects. @@ -3496,7 +3496,7 @@ Init_GC(void) OBJ_FREEZE(nomem_error); rb_define_method(rb_cBasicObject, "__id__", rb_obj_id, 0); - rb_define_method(rb_cBasicObject, "object_id", rb_obj_id, 0); + rb_define_method(rb_mKernel, "object_id", rb_obj_id, 0); rb_define_module_function(rb_mObSpace, "count_objects", count_objects, -1); |