In Files

  • dl/lib/dl/struct.rb

DL::Importable::Internal::Union

Public Instance Methods

new() click to toggle source
 
               # File dl/lib/dl/struct.rb, line 140
def new
  ptr = DL::malloc(@size)
  ptr.union!(@tys, *@names)
  mem = Memory.new(ptr, @names, @ty, @len, @enc, @dec)
  return mem
end