[ruby-cvs:72558] ko1:r65458 (trunk): fix type.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Oct 31 07:55:31 JST 2018


ko1	2018-10-31 07:55:31 +0900 (Wed, 31 Oct 2018)

  New Revision: 65458

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

  Log:
    fix type.
    
    * internal.h (RHASH_ARRAY_SIZE_RAW): should be `int` because
      it returns n<=8.
    
    * hash.c (RHASH_ARRAY_BOUND_RAW): ditto.
    
    * hash.c (RHASH_ARRAY_SIZE_RAW): remove a duplicated definition.
    
    * hash.c (linear_keys, linear_values): return `long`.
    
    * hash.c (linear_keys): fix initialize expression of `key_end`.

  Modified files:
    trunk/hash.c
    trunk/internal.h


More information about the ruby-cvs mailing list