[ruby-cvs:51949] nobu:r44804 (trunk): pack.c: use ivar for associated objects

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Feb 4 14:07:22 JST 2014


nobu	2014-02-04 14:07:21 +0900 (Tue, 04 Feb 2014)

  New Revision: 44804

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

  Log:
    pack.c: use ivar for associated objects
    
    * pack.c (str_associate, str_associated): keep associated objects
      in an instance variables, instead of in the internal structure.
    * string.c (rb_str_associate, rb_str_associated): deprecate.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
    trunk/pack.c
    trunk/string.c
    trunk/test/ruby/test_pack.rb


More information about the ruby-cvs mailing list