1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (WeakMap): Add doc for internal reference, use lib/weakref.rb

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2012-12-02 07:45:17 +00:00
parent 9b711fc731
commit 5c4e025f6f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Dec 2 16:45:00 2012 Zachary Scott <zachary@zacharyscott.net>
* gc.c (WeakMap): Add doc for internal reference, use lib/weakref.rb
Sun Dec 2 07:24:23 2012 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/parser.rb: Parse files with a -*- rdoc -*- modeline

5
gc.c
View file

@ -4412,7 +4412,10 @@ rb_gcdebug_sentinel(VALUE obj, const char *name)
* Document-class: ObjectSpace::WeakMap
*
* An ObjectSpace::WeakMap object holds references to
* any objects, but those objects can get disposed by GC.
* any objects, but those objects can get be garbage collected.
*
* This class is mostly used internally by WeakRef, please use
* +lib/weakref.rb+ for the public interface.
*/
/* Document-class: GC::Profiler