Subject: [ruby-ffi] [OT] win32api question |
From: rogerdpack |
Date: 12/18/09 12:47 PM |
To: ruby-ffi |
A little off topic, but this code from http://rubygems.rubyforge.org/svn/trunk/lib/rubygems/config_file.rb if RUBY_VERSION > '1.9' then SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP', 'L', :stdcall ... else SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP', 'L' ... end Seems to show a difference in parameters between 1.9 and 1.8....anybody have any clue what is going on here? Thanks. -r