summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl/import.rb
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-24 16:38:38 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-24 16:38:38 +0000
commit733a3adc796907415f642a92510d6ccd050dc4a9 (patch)
tree32ad1b083ac2017eed20413ddf022983a6be375e /ext/dl/lib/dl/import.rb
parent0f2fdc6978fb05e0149473a79d6083a1dd63e743 (diff)
improved encode_type() in types.rb for [ruby-talk:121175].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib/dl/import.rb')
-rw-r--r--ext/dl/lib/dl/import.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb
index 1ab5145def..f145c0fedf 100644
--- a/ext/dl/lib/dl/import.rb
+++ b/ext/dl/lib/dl/import.rb
@@ -70,7 +70,7 @@ module DL
init_types()
init_sym()
- rty,renc,rdec = @types.encode_type(ret)
+ rty,renc,rdec,_,_,_ = @types.encode_type(ret)
ty,enc,dec = encode_types(args)
symty = rty + ty
@@ -131,7 +131,7 @@ module DL
init_types()
init_sym()
- rty,_,rdec = @types.encode_type(rettype)
+ rty,_,rdec,_,_,_ = @types.encode_type(rettype)
ty,enc,dec = encode_types(argtypes)
symty = rty + ty
@@ -184,7 +184,7 @@ module DL
enc = nil
dec = nil
tys.each_with_index{|ty,idx|
- ty,c1,c2,_,_ = @types.encode_type(ty)
+ ty,c1,c2,_,_,_ = @types.encode_type(ty)
encty.push(ty)
if( enc )
if( c1 )