]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/qapi-schema-test.out
qapi: Make c_type() more OO-like
[mirror_qemu.git] / tests / qapi-schema / qapi-schema-test.out
CommitLineData
39a18158 1object :empty
156402e5
MA
2object :obj-EVENT_C-arg
3 member a: int optional=True
4 member b: UserDefOne optional=True
5 member c: str optional=False
6object :obj-EVENT_D-arg
7 member a: EventStructOne optional=False
8 member b: str optional=False
9 member c: str optional=True
10 member enum3: EnumOne optional=True
11object :obj-__org.qemu_x-command-arg
12 member a: __org.qemu_x-EnumList optional=False
13 member b: __org.qemu_x-StructList optional=False
14 member c: __org.qemu_x-Union2 optional=False
15 member d: __org.qemu_x-Alt optional=False
28770e05
MA
16object :obj-anyList-wrapper
17 member data: anyList optional=False
156402e5
MA
18object :obj-boolList-wrapper
19 member data: boolList optional=False
cae95eae
EB
20object :obj-guest-get-time-arg
21 member a: int optional=False
22 member b: int optional=True
28770e05
MA
23object :obj-guest-sync-arg
24 member arg: any optional=False
156402e5
MA
25object :obj-int16List-wrapper
26 member data: int16List optional=False
27object :obj-int32List-wrapper
28 member data: int32List optional=False
29object :obj-int64List-wrapper
30 member data: int64List optional=False
31object :obj-int8List-wrapper
32 member data: int8List optional=False
33object :obj-intList-wrapper
34 member data: intList optional=False
35object :obj-numberList-wrapper
36 member data: numberList optional=False
37object :obj-sizeList-wrapper
38 member data: sizeList optional=False
39object :obj-str-wrapper
40 member data: str optional=False
41object :obj-strList-wrapper
42 member data: strList optional=False
43object :obj-uint16List-wrapper
44 member data: uint16List optional=False
45object :obj-uint32List-wrapper
46 member data: uint32List optional=False
47object :obj-uint64List-wrapper
48 member data: uint64List optional=False
49object :obj-uint8List-wrapper
50 member data: uint8List optional=False
51object :obj-user_def_cmd1-arg
52 member ud1a: UserDefOne optional=False
53object :obj-user_def_cmd2-arg
54 member ud1a: UserDefOne optional=False
55 member ud1b: UserDefOne optional=True
9c51b441
EB
56alternate AltIntNum
57 case i: int
58 case n: number
9c51b441
EB
59alternate AltNumInt
60 case n: number
61 case i: int
9c51b441
EB
62alternate AltNumStr
63 case n: number
64 case s: str
9c51b441
EB
65alternate AltStrBool
66 case s: str
67 case b: bool
9c51b441
EB
68alternate AltStrInt
69 case s: str
70 case i: int
9c51b441
EB
71alternate AltStrNum
72 case s: str
73 case n: number
156402e5
MA
74event EVENT_A None
75event EVENT_B None
76event EVENT_C :obj-EVENT_C-arg
77event EVENT_D :obj-EVENT_D-arg
19767083
EB
78object Empty1
79object Empty2
80 base Empty1
156402e5
MA
81enum EnumOne ['value1', 'value2', 'value3']
82object EventStructOne
83 member struct1: UserDefOne optional=False
84 member string: str optional=False
85 member enum2: EnumOne optional=True
9f08c8ec
EB
86object ForceArrays
87 member unused1: UserDefOneList optional=False
88 member unused2: UserDefTwoList optional=False
748053c9 89 member unused3: TestStructList optional=False
625b251c 90enum MyEnum []
156402e5
MA
91object NestedEnumsOne
92 member enum1: EnumOne optional=False
93 member enum2: EnumOne optional=True
94 member enum3: EnumOne optional=False
95 member enum4: EnumOne optional=True
96enum QEnumTwo ['value1', 'value2']
97 prefix QENUM_TWO
7264f5c5
EB
98enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool']
99 prefix QTYPE
748053c9
EB
100object TestStruct
101 member integer: int optional=False
102 member boolean: bool optional=False
103 member string: str optional=False
156402e5
MA
104object UserDefA
105 member boolean: bool optional=False
d220fbcd 106 member a_b: int optional=True
156402e5 107alternate UserDefAlternate
68d07839 108 case udfu: UserDefFlatUnion
156402e5
MA
109 case s: str
110 case i: int
156402e5
MA
111object UserDefB
112 member intb: int optional=False
d220fbcd 113 member a-b: bool optional=True
156402e5
MA
114object UserDefC
115 member string1: str optional=False
116 member string2: str optional=False
117object UserDefFlatUnion
118 base UserDefUnionBase
119 tag enum1
120 case value1: UserDefA
121 case value2: UserDefB
122 case value3: UserDefB
123object UserDefFlatUnion2
9d3524b3 124 base UserDefUnionBase2
156402e5
MA
125 tag enum1
126 case value1: UserDefC
127 case value2: UserDefB
156402e5 128object UserDefNativeListUnion
da34a9bd 129 member type: UserDefNativeListUnionKind optional=False
156402e5
MA
130 case integer: :obj-intList-wrapper
131 case s8: :obj-int8List-wrapper
132 case s16: :obj-int16List-wrapper
133 case s32: :obj-int32List-wrapper
134 case s64: :obj-int64List-wrapper
135 case u8: :obj-uint8List-wrapper
136 case u16: :obj-uint16List-wrapper
137 case u32: :obj-uint32List-wrapper
138 case u64: :obj-uint64List-wrapper
139 case number: :obj-numberList-wrapper
140 case boolean: :obj-boolList-wrapper
141 case string: :obj-strList-wrapper
142 case sizes: :obj-sizeList-wrapper
28770e05
MA
143 case any: :obj-anyList-wrapper
144enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
156402e5
MA
145object UserDefOne
146 base UserDefZero
147 member string: str optional=False
148 member enum1: EnumOne optional=True
149object UserDefOptions
150 member i64: intList optional=True
151 member u64: uint64List optional=True
152 member u16: uint16List optional=True
153 member i64x: int optional=True
154 member u64x: uint64 optional=True
155object UserDefTwo
156 member string0: str optional=False
157 member dict1: UserDefTwoDict optional=False
158object UserDefTwoDict
159 member string1: str optional=False
160 member dict2: UserDefTwoDictDict optional=False
161 member dict3: UserDefTwoDictDict optional=True
162object UserDefTwoDictDict
163 member userdef: UserDefOne optional=False
164 member string: str optional=False
165object UserDefUnionBase
166 base UserDefZero
167 member string: str optional=False
168 member enum1: EnumOne optional=False
9d3524b3
EB
169object UserDefUnionBase2
170 base UserDefZero
171 member string: str optional=False
172 member enum1: QEnumTwo optional=False
156402e5
MA
173object UserDefZero
174 member integer: int optional=False
68d07839
EB
175object WrapAlternate
176 member alt: UserDefAlternate optional=False
156402e5
MA
177event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
178alternate __org.qemu_x-Alt
179 case __org.qemu_x-branch: str
180 case b: __org.qemu_x-Base
156402e5
MA
181object __org.qemu_x-Base
182 member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
183enum __org.qemu_x-Enum ['__org.qemu_x-value']
184object __org.qemu_x-Struct
185 base __org.qemu_x-Base
186 member __org.qemu_x-member2: str optional=False
c43567c1 187 member wchar-t: int optional=True
156402e5
MA
188object __org.qemu_x-Struct2
189 member array: __org.qemu_x-Union1List optional=False
190object __org.qemu_x-Union1
da34a9bd 191 member type: __org.qemu_x-Union1Kind optional=False
156402e5
MA
192 case __org.qemu_x-branch: :obj-str-wrapper
193enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
194object __org.qemu_x-Union2
195 base __org.qemu_x-Base
196 tag __org.qemu_x-member1
197 case __org.qemu_x-value: __org.qemu_x-Struct2
198command __org.qemu_x-command :obj-__org.qemu_x-command-arg -> __org.qemu_x-Union1
199 gen=True success_response=True
cae95eae
EB
200command guest-get-time :obj-guest-get-time-arg -> int
201 gen=True success_response=True
28770e05
MA
202command guest-sync :obj-guest-sync-arg -> any
203 gen=True success_response=True
156402e5
MA
204command user_def_cmd None -> None
205 gen=True success_response=True
972a1101
EB
206command user_def_cmd0 Empty2 -> Empty2
207 gen=True success_response=True
156402e5
MA
208command user_def_cmd1 :obj-user_def_cmd1-arg -> None
209 gen=True success_response=True
210command user_def_cmd2 :obj-user_def_cmd2-arg -> UserDefTwo
211 gen=True success_response=True