diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-11 10:41:00 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-11 10:41:00 +0000 |
commit | 3e6a624a8346ca0c26a292676adb4d0595090f09 (patch) | |
tree | b1b4221c2b9a0cc2415fc3c967965d64ba93d9b0 /ext/psych | |
parent | 16af9a107e8307567e2e1154328e9d24d9886803 (diff) | |
download | ruby-3e6a624a8346ca0c26a292676adb4d0595090f09.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych')
0 files changed, 0 insertions, 0 deletions