From: "ngoto (Naohisa Goto)" Date: 2012-12-12T00:12:36+09:00 Subject: [ruby-core:50764] [ruby-trunk - Bug #7514][Closed] DL::Function and DL::Importer#bind_function ignores abi and name when Fiddle is available Issue #7514 has been updated by ngoto (Naohisa Goto). Status changed from Assigned to Closed In r38322, Fiddle::Function#initialize can get name by using :name keyword argument. For example, Fiddle::Function.new(ptr, [], Fiddle::TYPE_VOID, name: "example") ---------------------------------------- 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-34615 Author: ngoto (Naohisa Goto) Status: Closed 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/