diff options
author | 卜部昌平 <[email protected]> | 2020-08-17 11:12:23 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-08-19 15:10:53 +0900 |
commit | 99093e1600ccef17ab99356b689573fcfd336ecc (patch) | |
tree | b0654845b92b038889fff4eab6e1c73b6ba8a4c0 /internal/hash.h | |
parent | d2eeb836344406eff3342b86436cc7eb0f8cc908 (diff) |
RHASH_TBL: is now ext-only
It seems almost no internal codes use RHASH_TBL any longer. Why not
just eliminate it entirely, so that the macro can be purely ext-only.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3426
Diffstat (limited to 'internal/hash.h')
-rw-r--r-- | internal/hash.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/hash.h b/internal/hash.h index f77102506e..73d71deaa2 100644 --- a/internal/hash.h +++ b/internal/hash.h @@ -107,13 +107,8 @@ VALUE rb_hash_keys(VALUE hash); VALUE rb_hash_has_key(VALUE hash, VALUE key); VALUE rb_hash_compare_by_id_p(VALUE hash); -#if RHASH_CONVERT_TABLE_DEBUG 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__) -#else -st_table *rb_hash_tbl_raw(VALUE hash); -#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h) -#endif MJIT_SYMBOL_EXPORT_END #if 0 /* for debug */ |