Class DL::Importable::Internal::Union
In: dl/struct.rb
Parent: Struct

Methods

new  

Public Instance methods

[Source]

     # File dl/struct.rb, line 140
140:         def new
141:           ptr = DL::malloc(@size)
142:           ptr.union!(@tys, *@names)
143:           mem = Memory.new(ptr, @names, @ty, @len, @enc, @dec)
144:           return mem
145:         end

Search

Google

Ruby API Docs

Links