Re: [PATCH v3 0/4] Improve default object property_add uint helpers

2019-12-02 Thread Stefan Hajnoczi
On Fri, Nov 29, 2019 at 05:46:47PM +, Felipe Franciosi wrote: > This improves the family of object_property_add_uintXX_ptr helpers by enabling > a default getter/setter only when desired. To prevent an API behavioural > change > (from clients that already used these helpers and did not want a

[PATCH v3 0/4] Improve default object property_add uint helpers

2019-11-29 Thread Felipe Franciosi
This improves the family of object_property_add_uintXX_ptr helpers by enabling a default getter/setter only when desired. To prevent an API behavioural change (from clients that already used these helpers and did not want a setter), we add a OBJ_PROP_FLAG_READ flag that allow clients to only have a