diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 10:50:23 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 10:50:23 +0000 |
commit | 215cd35df9cca5e3003106bf6a85a65a5e72d5a9 (patch) | |
tree | e7e80a4bb635f413bff7f23baedcfad3ee7b53b1 /ext/dl | |
parent | 6f70f54e1df721ed7b6cdc5d04b34077bfc583bb (diff) | |
download | ruby-215cd35df9cca5e3003106bf6a85a65a5e72d5a9.tar.gz |
minor bugfix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/lib/dl/struct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/struct.rb b/ext/dl/lib/dl/struct.rb index 5c0775277e..0bdc25a879 100644 --- a/ext/dl/lib/dl/struct.rb +++ b/ext/dl/lib/dl/struct.rb @@ -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 |