On 21/03/2018 16:55, Marc-André Lureau wrote:
> That would work with an anonymous union though:
>
> struct QObject {
> union {
> QType type;
> QType base;
> };
> size_t refcnt;
> };
>
> If it's acceptable, I think I'll take this approach.You don't need QEMU_GENERIC at all then, don't you? Paolo
