Am Fri, 16 Jan 2009 09:19:09 +1100 schrieb Carsten Haitzler (The Rasterman):
> 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 :) Ah, ok. Thanks for the explanation. 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