Hi all,

After a chat on IRC we settled on efl_ref_count(
Unless anyone comes up with reasons not to I will apply this change later
today.

Andy

On Mon, 6 Nov 2017 at 09:53 Andrew Williams <a...@andywilliams.me> wrote:

> Can you please explain why? This is a method that returns a count of
> references but has no mention of count in the name.
> We have ref_add and wref_add that are talking about actual references but
> ref_get returns a count?
> This is misleading.
>
> Andy
>
> On Mon, 6 Nov 2017 at 09:49 Carsten Haitzler <ras...@rasterman.com> wrote:
>
>> On Mon, 06 Nov 2017 09:46:41 +0000 Andrew Williams <a...@andywilliams.me>
>> said:
>>
>> i'd have to disagree on it being misleading... :/
>>
>> > Hi,
>> >
>> > Whilst writing the docs we have realised that efl_ref_get is a slightly
>> > misleading method name as it returns the reference count. Whilst we are
>> > breaking APIs for our first interfaces release would people mind me
>> > changing efl_ref_get to efl_refcount_get (as per this eo patch, and all
>> the
>> > efl ramifications).
>> >
>> > I'd prefer not to leave the old method in place but could do so if you
>> > think there is a big problem making this breaking change?
>> >
>> > Thanks :)
>> > Andy
>> >
>> >
>> > --
>> > http://andywilliams.me
>> > http://ajwillia.ms
>>
>>
>> --
>> ------------- Codito, ergo sum - "I code, therefore I am" --------------
>> Carsten Haitzler - ras...@rasterman.com
>>
>> --
> http://andywilliams.me
> http://ajwillia.ms
>
-- 
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to