From: Markus Armbruster Date: Fri, 4 Nov 2022 16:06:43 +0000 (+0100) Subject: docs/devel/qapi-code-gen: Update example to match current code X-Git-Tag: v8.0.0-rc0~130^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a680ea072fd96ed28ccc479f018abb4bae649104;p=thirdparty%2Fqemu.git docs/devel/qapi-code-gen: Update example to match current code Signed-off-by: Markus Armbruster Reviewed-by: Daniel P. Berrangé Message-Id: <20221104160712.3005652-2-armbru@redhat.com> --- diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst index cd9b544376c..997313fce7d 100644 --- a/docs/devel/qapi-code-gen.rst +++ b/docs/devel/qapi-code-gen.rst @@ -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...]