doc/api/libbabeltrace2/DoxygenLayout.xml: use `topics` tab
[babeltrace.git] / tests / data / plugins / src.ctf.fs / field / ctf-1 / pass-variant.mp
CommitLineData
10ba5f69
OD
1---
2struct {
3 enum : u8 {
4 MEOW,
5 MIX,
6 } tag;
7
8 variant <tag> {
9 u16 MEOW;
10 nt_str MIX;
11 } var;
12} @[2]
13
14---
1500 # `tag`
16[1995:16] # `var`
17
1801 # `tag`
19"hello there!\0" # `var`
20---
21- tag: 0
22 var: 1995
23- tag: 1
24 var: "hello there!"
This page took 0.028559 seconds and 4 git commands to generate.