[ruby-cvs:56536] nobu:r49386 (trunk): hash.c: move Hash specific functions

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jan 23 11:36:51 JST 2015


nobu	2015-01-23 11:36:50 +0900 (Fri, 23 Jan 2015)

  New Revision: 49386

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

  Log:
    hash.c: move Hash specific functions
    
    * hash.c (rb_ident_hash): move compare_by_identity specific
      function from st.c.
    
    * hash.c (rb_ident_hash_new): ditto from thread.c.
    
    * st.c (st_numhash): remove ruby's Hash specific implementation.
    
    * thread.c (recursive_list_access): use rb_ident_hash_new().

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


More information about the ruby-cvs mailing list