Class: FFI::Union
Class Method Summary collapse
Methods inherited from Struct
#[], #[]=, #align, align, by_value, #clear, in, #initialize, layout, #layout, members, #members, offset_of, #offset_of, #offsets, offsets, out, #pointer, #size, size, #to_ptr, #values
Constructor Details
This class inherits a constructor from FFI::Struct
Class Method Details
.builder ⇒ Object
6 7 8 9 10 |
# File 'lib/ffi/union.rb', line 6 def self.builder b = StructLayoutBuilder.new b.union = true b end |