Remove rb_hash_ar_table_p
It's dead code and duplicate of RHASH_AR_TABLE_P.
This commit is contained in:
parent
2296b877d8
commit
9f9dca0c52
Notes:
git
2023-01-31 20:48:30 +00:00
12
hash.c
12
hash.c
@ -567,18 +567,6 @@ RHASH_TABLE_EMPTY_P(VALUE hash)
|
||||
return RHASH_SIZE(hash) == 0;
|
||||
}
|
||||
|
||||
int
|
||||
rb_hash_ar_table_p(VALUE hash)
|
||||
{
|
||||
if (FL_TEST_RAW((hash), RHASH_ST_TABLE_FLAG)) {
|
||||
HASH_ASSERT(RHASH(hash)->as.st != NULL);
|
||||
return FALSE;
|
||||
}
|
||||
else {
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
rb_hash_st_table_set(VALUE hash, st_table *st)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user