diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 15:52:09 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 15:52:09 +0000 |
commit | c827e7cce5a6c8f65feb515660083c32e714056c (patch) | |
tree | 4c697381147ac7387039b3ad27e75c9856dc10fc /ext/dl | |
parent | df2e47fe44146535a8d85d66836906643831b1d8 (diff) |
bugfix for typealias() in import.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/lib/dl/import.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb index 2a98ace8ab..1cb6606dd7 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: |