summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-07 15:52:09 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-07 15:52:09 +0000
commitb6abbe1ec6f4a36734b47564fd3bec10fff6ed56 (patch)
tree4c697381147ac7387039b3ad27e75c9856dc10fc /ext
parentdfcb67d5b8fb5e28809a24313a87f45633b581cb (diff)
downloadruby-b6abbe1ec6f4a36734b47564fd3bec10fff6ed56.tar.gz
ruby-b6abbe1ec6f4a36734b47564fd3bec10fff6ed56.tar.xz
ruby-b6abbe1ec6f4a36734b47564fd3bec10fff6ed56.zip
bugfix for typealias() in import.rb.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/lib/dl/import.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb
index 2a98ace8a..1cb6606dd 100644
--- a/ext/dl/lib/dl/import.rb
+++ b/ext/dl/lib/dl/import.rb
@@ -99,9 +99,10 @@ module DL
# example:
# typealias("uint", "unsigned int")
#
- def typealias(*args)
+ def typealias(alias_type, ty1, enc1=nil, dec1=nil, ty2=nil, enc2=nil, dec2=nil)
init_types()
- @types.typealias(*args)
+ @types.typealias(alias_type, ty1, enc1, dec1,
+ ty2||ty1, enc2, dec2)
end
# example: