summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/lib/dl')
-rw-r--r--ext/dl/lib/dl/import.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb
index b71cae30ab..c0dfb5f705 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]