[ruby-cvs:50493] nobu:r43351 (trunk): gc.c: ObjectSpace::WeakMap#key?

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Oct 18 15:59:13 JST 2013


nobu	2013-10-18 15:59:12 +0900 (Fri, 18 Oct 2013)

  New Revision: 43351

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43351

  Log:
    gc.c: ObjectSpace::WeakMap#key?
    
    * gc.c (wmap_each_i): add ObjectSpace::WeakMap#key? method.
    
    * lib/weakref.rb (WeakRef#weakref_alive): use above method.

  Modified files:
    trunk/gc.c
    trunk/lib/weakref.rb


More information about the ruby-cvs mailing list