On Fri, 27 Jan 2012 07:28:52 +0100 Vincent Torri <[email protected]> said:
> On Fri, Jan 27, 2012 at 1:39 AM, David Seikel <[email protected]> wrote: > > On Thu, 26 Jan 2012 20:37:42 -0200 Gustavo Sverzut Barbieri > > <[email protected]> wrote: > > > >> On Thu, Jan 26, 2012 at 8:16 PM, Boris Faure <[email protected]> > >> wrote: > >> > On Thu, Jan 26, 2012 at 13:11, Gustavo Sverzut Barbieri > >> > <[email protected]> wrote: > >> >> Dunno, raster is not too found of the _t variants, that's why we > >> >> have almost no uint8_t et al > >> > > >> > I don't want to troll on that but I'd like to know why raster > >> > doesn't want the use the types in stdint.h specified in C99? > >> > I would also like to know why there is Eina_Bool that does the same > >> > thing as bool aka _Bool defined in stdbool.h. I'm almost sure there > >> > are no issues with compilation using visual studio. > > unfortunately, vc++ is not C99 compliant. But fortunately, defining > them in Evil.h is doable (intN_t and uintN_t are already there). On > the other hand, we know the size of char, short and int. Only long is > problematic. so is it really necessary ? back when i was working on E like pre Dr0.13 i got complaints from irix users that these were not available for their platform - i just remained shy of them ever since as i could simply depend on a pseudo-standard that actually worked: char -> 8bit short -> 16bit int -> 32bit long -> 3n2/64bit long long -> 64bit. void * -> 32/64bit everything i've ever needed has fitted into one of these (or there have been special ways to do it - eg mmx/neon). as such due to history to keep consistency everything follows this.if you start throwing in int32_t's and bools and these types they will simply stand out as "look weird" in the api. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
