mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] test: add missing receiver
https://github.com/ruby/fiddle/commit/1da3b4af16
This commit is contained in:
parent
d1eeb9fec9
commit
303ab5da8b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ module Fiddle
|
|||
|
||||
if WINDOWS
|
||||
def test_win32_last_error
|
||||
kernel32 = dlopen('kernel32')
|
||||
kernel32 = Fiddle.dlopen('kernel32')
|
||||
args = [kernel32['SetLastError'], [TYPE_LONG], TYPE_VOID]
|
||||
args << Function::STDCALL if Function.const_defined?(:STDCALL)
|
||||
set_last_error = Function.new(*args)
|
||||
|
|
Loading…
Add table
Reference in a new issue