Issue #7514 has been updated by ngoto (Naohisa Goto).


In the commit r38243, Fiddle::Function#name is added, and Fiddle::Importer#import_function and bind_function set the name. The name attribute would be used by Fiddle version of Win32::Registry.
----------------------------------------
Bug #7514: DL::Function and DL::Importer#bind_function ignores abi and name when Fiddle is available
https://bugs.ruby-lang.org/issues/7514#change-34487

Author: ngoto (Naohisa Goto)
Status: Assigned
Priority: Normal
Assignee: ngoto (Naohisa Goto)
Category: ext
Target version: 2.0.0
ruby -v: -


Like Bug #7484, when Fiddle is available, Fiddle's DL wrapper for DL::Function ignores :stdcall ABI. In addition, when creating callback closure, DL::Function wrapped by Fiddle does not set name, and DL::Function#name raises NoMethodError.



-- 
http://bugs.ruby-lang.org/