summaryrefslogtreecommitdiff
path: root/internal/hash.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-23 01:36:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-02 11:43:35 +0900
commitd08721465850a6e6954b43bbfebe2ed5a7256dec (patch)
tree4d7b76889e7e9f06f886ffb66ed614cfa6088332 /internal/hash.h
parent806e7947fec775ce27aa783ee00dbd8f52685db8 (diff)
Restore Hash#compare_by_identity mode [Bug #18171]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4893
Diffstat (limited to 'internal/hash.h')
-rw-r--r--internal/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/hash.h b/internal/hash.h
index f274cbbbd6..657e5eff3c 100644
--- a/internal/hash.h
+++ b/internal/hash.h
@@ -118,6 +118,8 @@ st_table *rb_hash_tbl_raw(VALUE hash, const char *file, int line);
#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h, __FILE__, __LINE__)
MJIT_SYMBOL_EXPORT_END
+VALUE rb_hash_compare_by_id(VALUE hash);
+
#if 0 /* for debug */
static inline bool