Re: [E-devel] Eina_Error and errno mapping

2016-08-23 Thread Gustavo Sverzut Barbieri
On Fri, Aug 19, 2016 at 2:40 AM, Jean-Philippe André wrote: > On 19 August 2016 at 13:44, Gustavo Sverzut Barbieri > wrote: > >> I'm not able to check the whole EFL + apps to see if there are any >> users... let's people recompile and get a warning for a

Re: [E-devel] Eina_Error and errno mapping

2016-08-18 Thread Jean-Philippe André
On 19 August 2016 at 13:44, Gustavo Sverzut Barbieri wrote: > I'm not able to check the whole EFL + apps to see if there are any > users... let's people recompile and get a warning for a week or so > There's no point. Breaking apps that use something that is not released is

Re: [E-devel] Eina_Error and errno mapping

2016-08-18 Thread Gustavo Sverzut Barbieri
I'm not able to check the whole EFL + apps to see if there are any users... let's people recompile and get a warning for a week or so On Thu, Aug 18, 2016 at 10:24 PM, Jean-Philippe André wrote: > Hi Gustavo, > > On 19 August 2016 at 01:42, Gustavo Sverzut Barbieri

Re: [E-devel] Eina_Error and errno mapping

2016-08-18 Thread Jean-Philippe André
Hi Gustavo, On 19 August 2016 at 01:42, Gustavo Sverzut Barbieri wrote: > Committed to master a change to allow using errno.h constants, check it > out: > > https://git.enlightenment.org/core/efl.git/commit/?id= > e56811ed4db61ac2ac14d28a7a8fac83f41c43b8 I added

Re: [E-devel] Eina_Error and errno mapping

2016-08-18 Thread Gustavo Sverzut Barbieri
Committed to master a change to allow using errno.h constants, check it out: https://git.enlightenment.org/core/efl.git/commit/?id=e56811ed4db61ac2ac14d28a7a8fac83f41c43b8 On Tue, Aug 16, 2016 at 11:57 AM, Felipe Magno de Almeida wrote: > On Tue, Aug 16, 2016 at

Re: [E-devel] Eina_Error and errno mapping

2016-08-16 Thread Felipe Magno de Almeida
On Tue, Aug 16, 2016 at 10:52 AM, Gustavo Sverzut Barbieri wrote: > On Tue, Aug 16, 2016 at 4:52 AM, Jean-Philippe André > wrote: >> Hi, [snip] >> But I'm not 100% sure about the usage of Eina_Error as a return value. When >> we return a value, do we

Re: [E-devel] Eina_Error and errno mapping

2016-08-16 Thread Gustavo Sverzut Barbieri
On Tue, Aug 16, 2016 at 4:52 AM, Jean-Philippe André wrote: > Hi, > > On 16 August 2016 at 00:29, Felipe Magno de Almeida < > felipe.m.alme...@gmail.com> wrote: > >> On Mon, Aug 15, 2016 at 12:19 PM, Gustavo Sverzut Barbieri >> wrote: >> > On Mon, Aug 15,

Re: [E-devel] Eina_Error and errno mapping

2016-08-16 Thread Jean-Philippe André
Hi, On 16 August 2016 at 00:29, Felipe Magno de Almeida < felipe.m.alme...@gmail.com> wrote: > On Mon, Aug 15, 2016 at 12:19 PM, Gustavo Sverzut Barbieri > wrote: > > On Mon, Aug 15, 2016 at 11:27 AM, Felipe Magno de Almeida > > wrote: > >> On

Re: [E-devel] Eina_Error and errno mapping

2016-08-15 Thread Felipe Magno de Almeida
On Mon, Aug 15, 2016 at 12:19 PM, Gustavo Sverzut Barbieri wrote: > On Mon, Aug 15, 2016 at 11:27 AM, Felipe Magno de Almeida > wrote: >> On Aug 15, 2016 2:42 AM, "Gustavo Sverzut Barbieri" [snip] >> However, is there a

Re: [E-devel] Eina_Error and errno mapping

2016-08-15 Thread Gustavo Sverzut Barbieri
On Mon, Aug 15, 2016 at 11:27 AM, Felipe Magno de Almeida wrote: > On Aug 15, 2016 2:42 AM, "Gustavo Sverzut Barbieri" > wrote: >> >> Hi all, >> >> I'm thinking on how to more easily map errno.h to eina_error.h. One >> possibility is to manually

Re: [E-devel] Eina_Error and errno mapping

2016-08-15 Thread Felipe Magno de Almeida
On Aug 15, 2016 2:42 AM, "Gustavo Sverzut Barbieri" wrote: > > Hi all, > > I'm thinking on how to more easily map errno.h to eina_error.h. One > possibility is to manually declare all types and strings, then a > function to map one to another. > > However, since the numbers

[E-devel] Eina_Error and errno mapping

2016-08-14 Thread Gustavo Sverzut Barbieri
Hi all, I'm thinking on how to more easily map errno.h to eina_error.h. One possibility is to manually declare all types and strings, then a function to map one to another. However, since the numbers are allocated dynamically at runtime, what if we simply start at a higher number (ie: 256) and