mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45379828f7
commit
2c11bda8b9
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
Thu Jan 2 00:04:29 2014 Masaki Matsushita <glass.saga@gmail.com>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Wed Jan 1 18:19:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
|
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
|
||||||
|
|
2
hash.c
2
hash.c
|
@ -1743,7 +1743,7 @@ keys_i(VALUE key, VALUE value, VALUE ary)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VALUE
|
static VALUE
|
||||||
rb_hash_keys(VALUE hash)
|
rb_hash_keys(VALUE hash)
|
||||||
{
|
{
|
||||||
VALUE keys;
|
VALUE keys;
|
||||||
|
|
|
@ -476,7 +476,6 @@ void rb_gc_resurrect(VALUE ptr);
|
||||||
/* hash.c */
|
/* hash.c */
|
||||||
struct st_table *rb_hash_tbl_raw(VALUE hash);
|
struct st_table *rb_hash_tbl_raw(VALUE hash);
|
||||||
#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h)
|
#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h)
|
||||||
VALUE rb_hash_keys(VALUE hash);
|
|
||||||
VALUE rb_hash_values(VALUE hash);
|
VALUE rb_hash_values(VALUE hash);
|
||||||
#define HASH_DELETED FL_USER1
|
#define HASH_DELETED FL_USER1
|
||||||
#define HASH_PROC_DEFAULT FL_USER2
|
#define HASH_PROC_DEFAULT FL_USER2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue