From 2296b877d800bfeafb59df7e60c7eddd8f0a2ae3 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 31 Jan 2023 13:30:50 -0500 Subject: Remove rb_hash_st_table It's a duplicate of RHASH_ST_TABLE. --- hash.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index e08885287f..56080a01df 100644 --- a/hash.c +++ b/hash.c @@ -579,13 +579,6 @@ rb_hash_ar_table_p(VALUE hash) } } -st_table * -rb_hash_st_table(VALUE hash) -{ - HASH_ASSERT(!RHASH_AR_TABLE_P(hash)); - return RHASH(hash)->as.st; -} - void rb_hash_st_table_set(VALUE hash, st_table *st) { -- cgit v1.2.1