ruby/ext/objspace
ko1 e03d6d9eb8 * ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from.
This method returns an array of objects referenced by given object.
  If given object is special objects such as true/false/nil/Fixnum etc
  then it returns nil. See rdoc for details.
  [ruby-core:39772]
* test/objspace/test_objspace.rb: add a test for this method.
* gc.c: add rb_objspace_reachable_objects_from().
  To make this function, add several member `mark_func_data'
  to rb_objspace_t.  If mark_func_data is not null, then
  gc_mark() calls mark_func_data::mark_func.
* gc.h: export rb_objspace_reachable_objects_from().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-05 08:14:09 +00:00
..
depend * internal.h: add for internal use only. 2011-05-18 13:41:54 +00:00
extconf.rb * ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add 2010-08-14 10:12:13 +00:00
objspace.c * ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from. 2012-10-05 08:14:09 +00:00