summaryrefslogtreecommitdiff
path: root/ext/dl/mkcallback.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/mkcallback.rb')
-rw-r--r--ext/dl/mkcallback.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/mkcallback.rb b/ext/dl/mkcallback.rb
index 1004454fcd..b7ea1718d0 100644
--- a/ext/dl/mkcallback.rb
+++ b/ext/dl/mkcallback.rb
@@ -14,7 +14,7 @@ def mkfunc(rettype, fnum, argc)
ret_code =
if( DLTYPE[rettype][:c2rb] )
- " return #{DLTYPE[rettype][:rb2c][\"retval\"]};"
+ " return #{DLTYPE[rettype][:rb2c]['retval']};"
else
" /* no return value */"
end