aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/mkcallback.rb
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-11 11:16:56 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-11 11:16:56 +0000
commit176542da7f415dd4709ea3b1c38f39e3f58ba567 (patch)
treec149ccaa98480882b11cc508c04d2d0b404b60cd /ext/dl/mkcallback.rb
parent7f80a1800f7b13e63227fb6202bee55a81cd506b (diff)
downloadruby-176542da7f415dd4709ea3b1c38f39e3f58ba567.tar.gz
bugfix. (Thanks U.Nakamura)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 217fef4fba..7738128f59 100644
--- a/ext/dl/mkcallback.rb
+++ b/ext/dl/mkcallback.rb
@@ -33,7 +33,7 @@ def mkfunc(rettype, fnum, argc)
" obj = rb_hash_aref(DLFuncTable, rb_assoc_new(INT2NUM(#{rettype.to_s}),INT2NUM(#{fnum.to_s})));",
" proto = rb_ary_entry(obj, 0);",
" proc = rb_ary_entry(obj, 1);",
- " rb_dl_scan_callback_args(buff, STR2CSTR(proto), &argc, &argv);",
+ " rb_dl_scan_callback_args(buff, STR2CSTR(proto), &argc, argv);",
" retval = rb_funcall2(proc, id_call, argc, argv);",
"",
ret_code,