Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | qapi script: do not allow string discriminator | Wenchao Xia | 2014-03-11 | 1 | -0/+0 |
Since enum based discriminators provide better type-safety and ensure that future qapi additions do not forget to adjust dependent unions, forbid using string as discriminator from now on. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> |