[ruby-cvs:73248] ko1:r66148 (trunk): use RARRAY_AREF instead of RARRAY_PTR_USE.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Dec 3 12:51:55 JST 2018


ko1	2018-12-03 12:51:55 +0900 (Mon, 03 Dec 2018)

  New Revision: 66148

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

  Log:
    use RARRAY_AREF instead of RARRAY_PTR_USE.
    
    * enumerator.c (enum_chain_total_size): use RARRAY_AREF
      instead of RARRAY_PTR_USE because we don't need non-const
      ptr.
    
    * enumerator.c (enum_chain_each): ditto.
    
    * enumerator.c (enum_chain_rewind): ditto.

  Modified files:
    trunk/enumerator.c


More information about the ruby-cvs mailing list