diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
| commit | 9246a73c21dab6031e8036b3ebaa3b943d2119d1 (patch) | |
| tree | a700e3fe92165180b04451746f9c4fda4f038289 /ext/dl/lib | |
| parent | d9a34753f78b8db5115b10bb1df137a16c4c90cf (diff) | |
| download | ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.gz ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.xz ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.zip | |
consistent parentheses in assignment RHS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib')
| -rw-r--r-- | ext/dl/lib/dl/import.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb index b71cae30a..c0dfb5f70 100644 --- a/ext/dl/lib/dl/import.rb +++ b/ext/dl/lib/dl/import.rb @@ -79,7 +79,7 @@ module DL symty = rty + ty module_eval("module_function :#{func}") - sym = module_eval [ + sym = module_eval([ "DL::callback(\"#{symty}\"){|*args|", " sym,rdec,enc,dec = @SYM['#{func}']", " args = enc.call(args) if enc", @@ -90,7 +90,7 @@ module DL " @args = rs", " @retval", "}", - ].join("\n") + ].join("\n")) @SYM[func] = [sym,rdec,enc,dec] |
