class FFI::StructLayoutBuilder
def build
-
(StructLayout)
-
def build # Add tail padding if the struct is not packed size = @packed ? @size : align(@size, @alignment) layout = StructLayout.new(@fields, size, @alignment) layout.__union! if @union layout end