]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qapi: Reorder check_FOO() parameters for consistency
authorMarkus Armbruster <armbru@redhat.com>
Fri, 27 Sep 2019 13:46:21 +0000 (15:46 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 28 Sep 2019 15:17:18 +0000 (17:17 +0200)
commitc9efc984ca5b5f75f184680e1ab9a7784d241578
treed171e03a46c86d0e1fe580011ec52f2bd7bbaa1c
parent481a6bd15c4fb99429c3337584c66b40384cb09c
qapi: Reorder check_FOO() parameters for consistency

Most check_FOO() take the thing being checked as first argument.
check_name(), check_type(), check_known_keys() don't.  Clean that up.

While there, drop a "Todo" comment that should have been dropped in
commit 87adbbffd4 "qapi: add a dictionary form for TYPE".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190927134639.4284-9-armbru@redhat.com>
scripts/qapi/common.py