mirror of
https://github.com/ruby/ruby.git
synced 2025-08-27 15:06:10 +02:00
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
This commit is contained in:
parent
df2e47fe44
commit
c827e7cce5
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue