blob: 6ac67bb92cf8b1978099e4e8a2e6d05fb5d68317 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library zxio;
/// Table where all members are optional.
type TableWithAllOptional = table {
/// foo doc comment.
1: foo uint16;
/// bar doc comment.
2: bar uint32;
};
/// Table where some members are required.
type TableWithSomeRequired = table {
/// foo doc comment.
1: foo uint16;
/// bar doc comment. This is required.
@required
2: bar uint32;
};