> On 23 Jun 2015, at 23:10, Liviu Ionescu <i...@livius.net> wrote:
> 
> another solution would look like:
> 
>    DeviceState *dev = my_dev_alloc(NULL, TYPE_MYTYPE);
>    my_dev_prop_set_string(dev, "param", "something");
>    my_dev_realize(dev);
>    my_dev_prop_set_uint32(dev, "xyz", 123);
> 
> which obviously fails while trying to set the locked "xyz" property.

as a last resort to avoid explicit constructors, what about doing whatever 
tricks are necessary to have these properties unlocked even after realize()?


Peter C, is this solution acceptable? 

if so, I'll update my code and perhaps tomorrow we can schedule the Skype call.


regards,

Liviu


Reply via email to