summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-03-04 08:42:40 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:12 -0600
commit4c3819b0558c57a94f6d3e356a17fe346cc93510 (patch)
tree01f1b51d3a9dcd14355ec49dc4a4bfdc3cd02f8e /scripts/qapi-types.py
parent78c57d0f93495670a12f048dd37cab5b6e11b80c (diff)
downloadhqemu-4c3819b0558c57a94f6d3e356a17fe346cc93510.zip
hqemu-4c3819b0558c57a94f6d3e356a17fe346cc93510.tar.gz
chardev: Drop useless ChardevDummy type
Commit d0d7708b made ChardevDummy be an empty wrapper type around ChardevCommon. But there is no technical reason for this indirection, so simplify the code by directly using the base type. Also change the fallback assignment to assign u.null rather than u.data, since a future patch will remove the data member of the C struct generated for QAPI unions. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1457106160-23614-1-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud