Class: FFI::Union
Class Method Summary collapse
Methods inherited from Struct
#align, #alignment, alignment, auto_ptr, by_ref, by_value, #clear, in, layout, #members, members, offset_of, #offset_of, offsets, #offsets, out, ptr, size, #size, size=, #to_ptr, val, #values
Class Method Details
.builder ⇒ Object
37 38 39 40 41 |
# File 'lib/ffi/union.rb', line 37 def self.builder b = StructLayoutBuilder.new b.union = true b end |