On Thu, 15 Jan 2009 18:02:17 +0200 "Oguz Yarimtepe" <comp....@gmail.com>
babbled:

> > This is something I liked to ask since some time as I work on the EFLpp
> > wrapper. Why are simple C types typedefed like Evas_Coord. This is
> > really confusing. Why not simply using an int?
> 
> It is the data type defined in the library.  I don't know why there is
> such a type instead of a simple int. I am sure the developers have a
> reasonable answer.

it USED to be a double - to allow for sub-pixel positioning etc. but i changed
it to an int for performance and practicality reasons. :) while doing that i
decided to typedef it as it actually can be switched back and forth - breaks
ABI, but API remains the same :)

> > Second question: Why have several EFL libs an own BOOL type. I think
> > there's a bool in stdbool.h. And if there're some platform which don't
> > support then, EFL should define a bool type instead of BOOL. Autoconf
> > could easy do this. Is this only for historical reasons?
> >
> > regards
> > Andreas
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > SourcForge Community
> > SourceForge wants to tell your story.
> > http://p.sf.net/sfu/sf-spreadtheword
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> 
> 
> 
> -- 
> Oğuz Yarımtepe
> www.loopbacking.info
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to