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 | da3ea2e3a9948a721e8939e4ef9778eeeaa78be0 (patch) | |
tree | 23fed373ce1f0684848e16ddfa5219e176e53064 /numeric.c | |
parent | c41af9ff3ea9296f55c419a841e34b9e8dc7c968 (diff) | |
download | ruby-da3ea2e3a9948a721e8939e4ef9778eeeaa78be0.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; } |