summaryrefslogtreecommitdiffstats
path: root/bt-vhci.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-01-29 06:48:56 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:32:24 -0600
commitd99865847c55f0dc6e23e59c246c3c72a3fab527 (patch)
treea16a558f606b510ee725c380be96a1a0ba98ee8f /bt-vhci.c
parentba40fb4d39a4df33a15cb0b5cf882a4296c89f98 (diff)
downloadhqemu-d99865847c55f0dc6e23e59c246c3c72a3fab527.zip
hqemu-d99865847c55f0dc6e23e59c246c3c72a3fab527.tar.gz
qapi: Swap 'name' in visit_* callbacks to match public API
As explained in the previous patches, matching argument order of 'name, &value' to JSON's "name":value makes sense. However, while the last two patches were easy with Coccinelle, I ended up doing this one all by hand. Now all the visitor callbacks match the main interface. The compiler is able to enforce that all clients match the changed interface in visitor-impl.h, even where two pointers are being swapped, because only one of the two pointers is const (if that were not the case, then C's looseness on treating 'char *' like 'void *' would have made review a bit harder). Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1454075341-13658-21-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud