Am Mon, 12 Jan 2009 14:35:50 +0100 (CET) schrieb Vincent Torri: > > > On Mon, 12 Jan 2009, Oguz Yarimtepe wrote: > > > Hi, > > I have attached the sample program that is mentioned at edjebook.pdf. > Here is what i get: > > $ gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` > example.c -o example > example.c: In function 'main': > example.c:34: warning: passing argument 2 of > 'edje_object_size_min_get' from incompatible pointer type > example.c:34: warning: passing argument 3 of > 'edje_object_size_min_get' from incompatible pointer type > > > > edje_object_size_min_get() take Evas_Coord * as parameters, so use > that type for the width and height. > > Curretly, Evas_Coord is just an int, so use the %d modifier in your > printf().
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? 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