diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-16 16:08:16 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-16 16:08:16 +0000 |
commit | 03021a6de622158328ba484caba08f3d100a3eef (patch) | |
tree | ecf1b1ed58868ca56b323435035462f901e84553 /ext/win32/lib/Win32API.rb | |
parent | 4c1666875f431105a63daf37f28734f9d1960ec2 (diff) | |
download | ruby-03021a6de622158328ba484caba08f3d100a3eef.tar.gz |
* ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, when
was this broken?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32/lib/Win32API.rb')
-rw-r--r-- | ext/win32/lib/Win32API.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32/lib/Win32API.rb b/ext/win32/lib/Win32API.rb index 8589768e64..7cabd9f84a 100644 --- a/ext/win32/lib/Win32API.rb +++ b/ext/win32/lib/Win32API.rb @@ -29,7 +29,7 @@ class Win32API args[i], = [x == 0 ? nil : x].pack("p").unpack(POINTER_TYPE) if import[i] == "S" args[i], = [x].pack("I").unpack("i") if import[i] == "I" end - ret, = @func.call(args) + ret, = @func.call(*args) return ret || 0 end |