diff options
author | Eric Blake <eblake@redhat.com> | 2015-05-04 09:05:12 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-05-05 18:39:00 +0200 |
commit | 7b1b98c420355ccea98d8bd55c9193ee6b7cef97 (patch) | |
tree | 0ceec0f9a47f2526cbc8feadf1d0faff480525af /target-microblaze/op_helper.c | |
parent | ab045267447d52e63a79c0e18f89ae4411f5420b (diff) |
qapi: Document new 'alternate' meta-type
The next patch will quit special-casing "'union':'Foo',
'discriminator':{}" and instead use "'alternate':'Foo'".
Separating docs from implementation makes it easier to focus
on wording without holding up code. In particular, making
alternate a separate type makes for a nice type hierarchy:
/-------- meta-type ------\
/ | \
simple types alternate complex types
| | | |
built-in enum type(struct) union
| \ / / \
numeric string simple flat
A later patch will then clean up 'type' vs. 'struct'
confusion.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target-microblaze/op_helper.c')
0 files changed, 0 insertions, 0 deletions