summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl/import.rb
diff options
context:
space:
mode:
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 )