blob: 94da558e8f1cd3ae03afb661c481df5336b51f1a [file] [log] [blame]
// 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 fidl.examples.xunion;
using zx;
table t {
1: string s;
};
flexible resource union xu {
1: int32 i;
2: float32 f;
3: string s;
4: vector<int64> v;
5: array<int32>:5 a;
6: handle h;
7: zx.handle:CHANNEL c;
8: zx.handle:EVENT e;
};