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

2020-02-03 Thread Felipe Franciosi
> On Feb 3, 2020, at 4:10 PM, Marc-André Lureau > wrote: > > Hi > > On Mon, Feb 3, 2020 at 5:08 PM Felipe Franciosi wrote: >> >> Oops, I completely forgot to add a "v5" on the subject line. >> >> (The changelog is there.) >> >> Let me know if I should resend. >> >> F. >> >>> On Feb 3, 2

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

2020-02-03 Thread Marc-André Lureau
Hi On Mon, Feb 3, 2020 at 5:08 PM Felipe Franciosi wrote: > > Oops, I completely forgot to add a "v5" on the subject line. > > (The changelog is there.) > > Let me know if I should resend. > > F. > > > On Feb 3, 2020, at 3:54 PM, Felipe Franciosi wrote: > > > > This improves the family of object

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

2020-02-03 Thread Felipe Franciosi
Oops, I completely forgot to add a "v5" on the subject line. (The changelog is there.) Let me know if I should resend. F. > On Feb 3, 2020, at 3:54 PM, Felipe Franciosi wrote: > > This improves the family of object_property_add_uintXX_ptr helpers by enabling > a default getter/setter only whe

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

2020-02-03 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

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

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