# File lib/ffi/struct_layout_builder.rb, line 106 def build # Add tail padding if the struct is not packed size = @packed ? @size : align(@size, @alignment) StructLayout.new(@fields, size, @alignment) end