summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 17:02:43 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 17:02:43 +0000
commit6ed425d55b45cfbca9f03e6083ac35622e694653 (patch)
tree22d1c436411306dd165c8919f6e037ca9b1f4271 /string.c
parent3ca245a54c7d4a65ada9dfdff46b8875f6a4ee39 (diff)
* string.c: use rename-macro instead of RUBY_ALIAS_FUNCTION_TYPE.
Because build causes failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)