Issue #7514 has been updated by usa (Usaku NAKAMURA).

Category set to ext
Status changed from Closed to Assigned
Assignee set to ngoto (Naohisa Goto)
Target version set to 2.0.0

Hmm, when using DL::Function, the patch solves the problem.

But, when we try to shift to Fiddle from DL, since Fiddle::Function
does not still have name.
So we can not shift simply.
I think that better solution of this problem is not deceiving DL::Function,
but adding name to Fiddle::Function perfectly.

Goto-san, Aaron, how do you think about this?


In addition, I am actually afflicted by this shift problem now, and this
problem is serious for me. 

----------------------------------------
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-34405

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/