[Qemu-devel] [PULL v2 27/32] qapi: Add #if conditions to generated code members

2018-12-14 Thread Markus Armbruster
From: Marc-André Lureau Wrap generated enum and struct members and their supporting code with #if/#endif, using the .ifcond members added in the previous patches. We do enum and struct in a single patch because union tag enum and the associated variants tie them together, and dealing with that t

[Qemu-devel] [PULL v2 27/32] qapi: Add #if conditions to generated code members

2018-12-13 Thread Markus Armbruster
From: Marc-André Lureau Wrap generated enum and struct members and their supporting code with #if/#endif, using the .ifcond members added in the previous patches. We do enum and struct in a single patch because union tag enum and the associated variants tie them together, and dealing with that t