diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-17 02:54:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-17 02:54:50 +0000 |
commit | a8f43986020ff906a99ba453521ab7c8b3f7e0d2 (patch) | |
tree | 23fed373ce1f0684848e16ddfa5219e176e53064 /numeric.c | |
parent | 9f6ba3f10211af6e65a8a784201a4f0e77a0be8e (diff) | |
download | ruby-a8f43986020ff906a99ba453521ab7c8b3f7e0d2.tar.gz |
numeric.c: adjust types
* numeric.c (coerce_rescue, coerce_rescue_quiet): rescue functions
should have errinfo too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -260,7 +260,7 @@ coerce_failed(VALUE x, VALUE y) } static VALUE -coerce_rescue(VALUE arg) +coerce_rescue(VALUE arg, VALUE errinfo) { VALUE *x = (VALUE *)arg; coerce_failed(x[0], x[1]); @@ -268,7 +268,7 @@ coerce_rescue(VALUE arg) } static VALUE -coerce_rescue_quiet(VALUE arg) +coerce_rescue_quiet(VALUE arg, VALUE errinfo) { return Qundef; } |