Project

General

Profile

« Previous | Next » 

Revision f1841f43

Added by ngoto (Naohisa Goto) over 11 years ago

  • ext/dl/lib/dl/func.rb (DL::Function#initialize, DL::Function#bind):
    ABI should be set by using CFunc#calltype even when Fiddle is used.
    When Fiddle is used and a block is given, name shoud not be ignored.
    [ruby-core:50562] [Bug #7514]
  • ext/dl/lib/dl/import.rb (DL::Importer#bind_function): should respect
    abi and name when Fiddle is used.
  • test/dl/test_func.rb (test_name_with_block): test for "name" method
    with giving a block.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e