But this case is just ridiculous. :) -- Tom.
On 26/01/12 14:11, Gustavo Sverzut Barbieri wrote: > Dunno, raster is not too found of the _t variants, that's why we have > almost no uint8_t et al > > On Thursday, January 26, 2012, Tom Hacohen > <tom.haco...@partner.samsung.com > <mailto:tom.haco...@partner.samsung.com>> wrote: > > On 26/01/12 13:10, Gustavo Sverzut Barbieri wrote: > >> > >> It is needed for 64 bits where sizeof(void*)> sizeof(int) > >> > >> Don't do these changes without asking anymore :-/ > >> > >> On Thursday, January 26, 2012, Enlightenment > SVN<no-re...@enlightenment.org <mailto:no-re...@enlightenment.org>> > >> wrote: > >>> > >>> Log: > >>> elementary/genlist - deprecated elm_genlist_item_data_set/get > >>> > >>> but please use elm_object_item_data_set/get instead. > >>> > >>> > >>> and what was purpose of this double casting? > >>> > >>> (int)(long) elm_genlist_item_data_get(gli); > >>> > >>> these calls are used in some places. > >>> > >>> I removed the (long) casting because it looks useless. > >>> > > > > > > Gustavo, > > > > (int) (long) sounds bad, a better solution would be using intptr_t, > don't you agree? > > > > So the code is indeed bad and it (int) (long) is just a hack that > should have been removed anyway... > > > > -- > > Tom. > > > > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com <mailto:barbi...@gmail.com> > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! 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-d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel