[ruby-cvs:58802] ko1:r51654 (trunk): * ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Aug 21 20:30:24 JST 2015


ko1	2015-08-21 20:30:24 +0900 (Fri, 21 Aug 2015)

  New Revision: 51654

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

  Log:
    * ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols.
      [Feature #11158]
    * symbol.c (rb_sym_immortal_count): added to count immortal symbols.
    * symbol.h: ditto.
    * test/objspace/test_objspace.rb: add a test for this method.
    * NEWS: describe about this method.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/objspace/objspace.c
    trunk/symbol.c
    trunk/symbol.h
    trunk/test/objspace/test_objspace.rb


More information about the ruby-cvs mailing list