[前][次][番号順一覧][スレッド一覧]

ruby-changes:32399

From: glass <ko1@a...>
Date: Thu, 2 Jan 2014 00:19:28 +0900 (JST)
Subject: [ruby-changes:32399] glass:r44478 (trunk): * hash.c (rb_hash_keys): make rb_hash_keys() static.

glass	2014-01-02 00:19:23 +0900 (Thu, 02 Jan 2014)

  New Revision: 44478

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

  Log:
    * hash.c (rb_hash_keys): make rb_hash_keys() static.
      it is no longer used from array.c since r43969.
      the patch is from normalperson (Eric Wong).
      [ruby-core:59449] [Feature #9336]
    
    * internal.h: remove definition of rb_hash_keys().

  Modified files:
    trunk/ChangeLog
    trunk/hash.c
    trunk/internal.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44477)
+++ ChangeLog	(revision 44478)
@@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan  2 00:04:29 2014  Masaki Matsushita  <glass.saga@g...>
+
+	* hash.c (rb_hash_keys): make rb_hash_keys() static.
+	  it is no longer used from array.c since r43969.
+	  the patch is from normalperson (Eric Wong).
+	  [ruby-core:59449] [Feature #9336]
+
+	* internal.h: remove definition of rb_hash_keys().
+
 Wed Jan  1 18:19:35 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
Index: hash.c
===================================================================
--- hash.c	(revision 44477)
+++ hash.c	(revision 44478)
@@ -1743,7 +1743,7 @@ keys_i(VALUE key, VALUE value, VALUE ary https://github.com/ruby/ruby/blob/trunk/hash.c#L1743
  *
  */
 
-VALUE
+static VALUE
 rb_hash_keys(VALUE hash)
 {
     VALUE keys;
Index: internal.h
===================================================================
--- internal.h	(revision 44477)
+++ internal.h	(revision 44478)
@@ -476,7 +476,6 @@ void rb_gc_resurrect(VALUE ptr); https://github.com/ruby/ruby/blob/trunk/internal.h#L476
 /* hash.c */
 struct st_table *rb_hash_tbl_raw(VALUE hash);
 #define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h)
-VALUE rb_hash_keys(VALUE hash);
 VALUE rb_hash_values(VALUE hash);
 #define HASH_DELETED  FL_USER1
 #define HASH_PROC_DEFAULT FL_USER2

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]