mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
@@ -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...]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user