Signed-off-by: John Snow <jsnow@redhat.com> Message-ID: <20260922205605.501602-3-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> [Missing update to tests/qapi-schema/doc-good.txt squashed in] Signed-off-by: Markus Armbruster <armbru@redhat.com>
21 lines
273 B
JSON
21 lines
273 B
JSON
# Arguments and sections must not be interleaved
|
|
|
|
##
|
|
# @TestStruct:
|
|
# body
|
|
#
|
|
# @integer: foo
|
|
# blah
|
|
#
|
|
# bao
|
|
#
|
|
# TODO: a section.
|
|
#
|
|
# @foobar: catch this
|
|
#
|
|
# Since: 2.3
|
|
#
|
|
##
|
|
{ 'struct': 'TestStruct',
|
|
'data': { 'integer': 'int', 'foobar': 'int' } }
|