qemu/qobject
Marc-André Lureau 7ee9edfdb1 qobject: Ensure base is at offset 0
All QObject types have the base QObject as their first field. This
allows the simplification of qobject_to().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180419150145.24795-2-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message paragraph on type casts dropped, to avoid giving the
impression type casting would be okay]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-05-04 08:27:53 +02:00
..
2018-03-19 14:58:36 -05:00
2018-03-19 14:58:36 -05:00
2018-03-19 14:58:36 -05:00
2018-03-19 14:58:36 -05:00
2018-03-19 14:58:36 -05:00
2018-05-04 08:27:53 +02:00