From 733a3adc796907415f642a92510d6ccd050dc4a9 Mon Sep 17 00:00:00 2001 From: ttate Date: Wed, 24 Nov 2004 16:38:38 +0000 Subject: 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 --- ext/dl/lib/dl/import.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/dl/lib/dl/import.rb') 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 ) -- cgit v1.2.3