1// Copyright 2018 The Fuchsia Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5library fidl.examples.alignment; 6 7struct packing_0 { 8 int16 i16_0; 9 int32 i32_0; 10 int16 i16_1; 11}; 12 13struct packing_1 { 14 int16 i16_0; 15 int8 i8_0; 16 int16 i16_1; 17 int8 i8_1; 18}; 19 20struct packing_2 { 21 int16 i16_0; 22 int8 i8_0; 23 int8 i8_1; 24 int16 i16_1; 25}; 26 27struct packing_3 { 28 int32 i32_0; 29 int64 i64_0; 30 int16 i16_0; 31 int32 i32_1; 32 int16 i16_1; 33}; 34