aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/string.c b/string.c
index 55fce5629d..d1ee6b5578 100644
--- a/string.c
+++ b/string.c
@@ -1979,15 +1979,10 @@ rb_str_concat(VALUE str1, VALUE str2)
#undef rb_hash_uint32
#undef rb_hash_uint
#undef rb_hash_end
-RUBY_ALIAS_FUNCTION_TYPE(st_index_t,
- rb_hash_uint32(st_index_t h, uint32_t i),
- st_hash_uint32, (h, i));
-RUBY_ALIAS_FUNCTION_TYPE(st_index_t,
- rb_hash_uint(st_index_t h, st_index_t i),
- st_hash_uint, (h, i));
-RUBY_ALIAS_FUNCTION_TYPE(st_index_t,
- rb_hash_end(st_index_t h),
- st_hash_end, (h));
+
+#define rb_hash_uint32 st_hash_uint32
+#define rb_hash_uint st_hash_uint
+#define rb_hash_end st_hash_end
st_index_t
rb_hash_start(st_index_t h)