1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

minor bugfix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ttate 2005-03-08 10:50:23 +00:00
parent 6f70f54e1d
commit 215cd35df9

View file

@ -163,7 +163,7 @@ module DL
class CUnionEntity < CStruct
include PackInfo
def CUnionEntity.malloc(types)
def CUnionEntity.malloc(types, func=nil)
addr = DL.malloc(CUnionEntity.size(types))
CUnionEntity.new(addr, types, func)
end