On Sunday, September 2, 2012, rustyBSD wrote:

> Le 02/09/2012 13:20, Daniel Juyung Seo a écrit :
> > It looks like valptr is not always boolean. You can set int value to
> > the check object.
> > So it's int rather than Eina_Bool.
> > But yes, most of cases it is used as if it was a boolean.
> >
> > Anybody has a historical idea on this?
> >
> > Daniel Juyung Seo (SeoZ)
> Mmhhh... In e_widget_check.c, i don't see
> where valptr isn't a boolean.
>
> Yes, argument passed to e_widget_check_add()
> is int, but as it's used as boolean, we also could
> replace all call to e_widget_check_add() to pass
> an Eina_Bool. It implies a lot of changes... but it
> uses less memory.


It would be cumbersome to replace everywhere. Also it does save memory but
the extra 3 bytes are minimal compared to everything else, then it does not
worth the trouble




>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to