ruby-changes:33775
From: nobu <ko1@a...>
Date: Wed, 7 May 2014 13:27:16 +0900 (JST)
Subject: [ruby-changes:33775] nobu:r45856 (trunk): hash.c: make rb_hash_keys extern
nobu 2014-05-07 13:26:53 +0900 (Wed, 07 May 2014) New Revision: 45856 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45856 Log: hash.c: make rb_hash_keys extern * hash.c (rb_hash_keys): make an internal public function. Modified files: trunk/hash.c trunk/internal.h Index: hash.c =================================================================== --- hash.c (revision 45855) +++ hash.c (revision 45856) @@ -1756,7 +1756,7 @@ keys_i(VALUE key, VALUE value, VALUE ary https://github.com/ruby/ruby/blob/trunk/hash.c#L1756 * */ -static VALUE +VALUE rb_hash_keys(VALUE hash) { VALUE keys; Index: internal.h =================================================================== --- internal.h (revision 45855) +++ internal.h (revision 45856) @@ -596,6 +596,7 @@ void rb_gc_resurrect(VALUE ptr); https://github.com/ruby/ruby/blob/trunk/internal.h#L596 /* 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/