qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] QDev explicit constructors & destructors


From: Liviu Ionescu
Subject: Re: [Qemu-devel] [RFC] QDev explicit constructors & destructors
Date: Mon, 15 Jun 2015 14:13:02 +0300

> On 15 Jun 2015, at 13:48, Liviu Ionescu <address@hidden> wrote:
> 
> ... add an explicit constructor, like in C++. 
> ... the DeviceClass structure ... qdev_construct() ...

For more generality, the new construct/destruct pointers can be added directly 
to the QOM ObjectClass, and the functions implemented as:

        object_construct(Object*, void*)
        object_destruct(Object*, void*)

with qdev_construct()/qdev_destruct() as wrappers.


Regards,

Liviu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]