On Tue, 23 Apr 2013 09:56:25 -0300 Lucas De Marchi <lucas.demar...@profusion.mobi> wrote:
> On Tue, Apr 23, 2013 at 9:42 AM, David Seikel <onef...@gmail.com> > wrote: > > On Tue, 23 Apr 2013 09:33:47 -0300 Lucas De Marchi > > <lucas.demar...@profusion.mobi> wrote: > > > >> On Tue, Apr 23, 2013 at 2:06 AM, ChunEon Park <her...@naver.com> > >> wrote: > >> > zmike, How about using EINA_TRUE/EINA_FALSE? > >> > >> much more typing I guess. > >> > >> let's start converting to C99's bool that's already more than a > >> decade over? One simple advantage is less type, another is that > >> the compiler will do the right thing when you do bool a = 20 (i.e. > >> no need for !!) > > > > +1 > > > > Er wait, what does "bool a = 20; a + 1" end up being? > > #include <stdbool.h> > #include <stdio.h> > > int main(void) > { > bool a = 20; > > printf("%d\n", a); > a++; > printf("%d\n", a); > > return 0; > } > > └ tmp ➤ ./a > 1 > 1 +1 it is then. B-) -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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