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:
Markus Armbruster 2022-11-04 17:06:43 +01:00
parent ea3a008d2d
commit a680ea072f

View file

@ -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...]