On Tue, Apr 23, 2013 at 4:18 PM, David Seikel <onef...@gmail.com> wrote:
> On Tue, 23 Apr 2013 10:51:23 -0300 Lucas De Marchi
> <lucas.demar...@profusion.mobi> wrote:
>
>> On Tue, Apr 23, 2013 at 10:25 AM, Cedric BAIL <cedric.b...@free.fr>
>> wrote:
>> > On Tue, Apr 23, 2013 at 2:52 PM, ChunEon Park <her...@naver.com>
>> > wrote:
>> >> Why do we provide Eina_Bool?
>> >
>> > Because some compiler don't support yet bool. I am thinking
>> > especially
>>
>> some? The only compiler that doesn't have native support for it is ms
>> visual studio. And it can't compile efl for lots of other reasons.
>> Even if we decide to support, it can be made to work. But it's
>> unsupported for a long time, since the time vtorri was taking care of
>> windows builds so I don't think there's any hope for it.
>
> I suspect that compiling a definition of two values for a short named
> type, conditionally if it's Windows is not too hard.  Likely less code
> than was in this paragraph.

I may misunderstand your idea, but it will change nothing in our code
as we will need to still support the char case. Also I don't like to
have a very different source code for windows, we have not enough
tester for that nor even developers to track error down.

>> > on some windows one and as some of those Eina_Bool end up in our API
>> > for consistency with use Eina_Bool everywhere in our code.
>>
>> You can let the Eina_Bool in API and internally use bool just fine. No
>> worry about consistency since this would be very consistent as well.
>
> I think we can do this, and drag Mike's huge boolean values kicking and
> screaming into the late '90s.

As long as they are never used in a public header that will be ok, but
now we will need to be really careful there. I still prefer to ban
them completely, but whatever you guys want.
--
Cedric BAIL

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to