mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
docs/devel/qapi-code-gen: Update example to match current code
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221104160712.3005652-2-armbru@redhat.com>
This commit is contained in:
parent
ea3a008d2d
commit
a680ea072f
1 changed files with 1 additions and 1 deletions
|
@ -1748,7 +1748,7 @@ Example::
|
|||
QTAILQ_INIT(cmds);
|
||||
|
||||
qmp_register_command(cmds, "my-command",
|
||||
qmp_marshal_my_command, QCO_NO_OPTIONS);
|
||||
qmp_marshal_my_command, 0, 0);
|
||||
}
|
||||
[Uninteresting stuff omitted...]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue