| // Copyright 2018 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 banjo.examples.example4; | |
| type Point = struct { | |
| x uint64; | |
| }; | |
| type Enum = strict enum { | |
| x = 23; | |
| }; | |
| @transport("Banjo") | |
| @banjo_layout("ddk-protocol") | |
| protocol Interface { | |
| func(struct { | |
| x bool; | |
| }) -> (); | |
| }; |