Project

General

Profile

« Previous | Next » 

Revision 38322

  • ext/fiddle/function.c (Fiddle::Function.new): new keyword argument :name to set the name attribute.
  • ext/fiddle/lib/fiddle/import.rb (import_function, bind_function): set function name by using the :name keyword argument. Re-fixes r38243. [ruby-core:50566]
  • test/fiddle/test_function.rb (test_name): test for the :name keyword argument and Fiddle::Function#name.