diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-09-19 11:56:36 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-11 16:50:01 +0200 |
commit | 622f557f5aaea1326c94ca4cddfa4eafeade3723 (patch) | |
tree | ca74eac5379e1003c4634119001400b737adb472 /blockdev.c | |
parent | 14d36307ffdf949df9c1dd7f435e138b36f63bb0 (diff) | |
download | qemu-622f557f5aaea1326c94ca4cddfa4eafeade3723.tar.gz qemu-622f557f5aaea1326c94ca4cddfa4eafeade3723.tar.bz2 qemu-622f557f5aaea1326c94ca4cddfa4eafeade3723.zip |
qapi-types/visit.py: Inheritance for structs
This introduces a new 'base' key for struct definitions that refers to
another struct type. On the JSON level, the fields of the base type are
included directly into the same namespace as the fields of the defined
type, like with unions. On the C level, a pointer to a struct of the
base type is included.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions