* hash.c (identhash): share with type_numhash.
* st.c (st_hashtype_num): rename from type_numhash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb21db77c0
commit
12c497dcf6
@ -1,3 +1,9 @@
|
|||||||
|
Tue Oct 18 23:28:53 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* hash.c (identhash): share with type_numhash.
|
||||||
|
|
||||||
|
* st.c (st_hashtype_num): rename from type_numhash.
|
||||||
|
|
||||||
Tue Oct 18 23:07:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Oct 18 23:07:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* vm_core.h (ruby_current_thread): probeprofiler has been removed
|
* vm_core.h (ruby_current_thread): probeprofiler has been removed
|
||||||
|
6
hash.c
6
hash.c
@ -106,10 +106,8 @@ static const struct st_hash_type objhash = {
|
|||||||
rb_any_hash,
|
rb_any_hash,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct st_hash_type identhash = {
|
extern const struct st_hash_type st_hashtype_num;
|
||||||
st_numcmp,
|
#define identhash st_hashtype_num
|
||||||
st_numhash,
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef int st_foreach_func(st_data_t, st_data_t, st_data_t);
|
typedef int st_foreach_func(st_data_t, st_data_t, st_data_t);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user