diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 01:16:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 01:16:20 +0000 |
commit | 3e36402e7fd71a7bac2f54fa8617cd7e30aecd9c (patch) | |
tree | 0f6594b67036a45b2244066ff83b96b0ffc7bfcb | |
parent | 0fdb25ba1ff116ca902296e68dd89a2d1c5a2f62 (diff) | |
download | ruby-3e36402e7fd71a7bac2f54fa8617cd7e30aecd9c.tar.gz |
gc.c: rb_gc_set_params
* gc.c (rb_gc_set_params): define as separate function.
RUBY_ALIAS_FUNCTION is for simple alias only, the third parameter
will be ignored on gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | gc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5419,7 +5419,11 @@ ruby_gc_set_params(int safe_level) #endif } -RUBY_ALIAS_FUNCTION_VOID(rb_gc_set_params(void), ruby_gc_set_params, (rb_safe_level())) +void +rb_gc_set_params(void) +{ + ruby_gc_set_params(rb_safe_level()); +} void rb_objspace_reachable_objects_from(VALUE obj, void (func)(VALUE, void *), void *data) |