diff options
author | Jean Boussier <byroot@ruby-lang.org> | 2022-02-18 12:54:42 +0100 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2023-02-23 16:01:57 +0100 |
commit | 2a5354e59324cb296a423c73ec15ff9191086964 (patch) | |
tree | 4f05a09a431ee431f1312eef8eb23da4cab7e23a /internal | |
parent | 9406245dbcaa324ce9ff0aae0f28b64beacc0836 (diff) | |
download | ruby-2a5354e59324cb296a423c73ec15ff9191086964.tar.gz |
Implement ObjectSpace::WeakKeyMap basic allocator
[Feature #18498]
Diffstat (limited to 'internal')
-rw-r--r-- | internal/hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/hash.h b/internal/hash.h index 5545ecb855..dff421137a 100644 --- a/internal/hash.h +++ b/internal/hash.h @@ -73,6 +73,8 @@ VALUE rb_hash_default_value(VALUE hash, VALUE key); VALUE rb_hash_set_default_proc(VALUE hash, VALUE proc); long rb_dbl_long_hash(double d); st_table *rb_init_identtable(void); +st_index_t rb_any_hash(VALUE a); +int rb_any_cmp(VALUE a, VALUE b); VALUE rb_to_hash_type(VALUE obj); VALUE rb_hash_key_str(VALUE); VALUE rb_hash_values(VALUE hash); |