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)

On Sun, Sep 2, 2012 at 3:23 PM, rustyBSD <rusty...@gmx.fr> wrote:
> Hi,
> in src/bin/e_widget_check.c, the structure
> E_Widget_Data has 'int *valptr'. If I'm not
> mistaken, it's just used as boolean (true or
> false). So why not use Eina_Bool or anything
> else 'smaller' ? In e_fm_prop.c, for example,
> all int could be Eina_Bool; and if i'm not mistaken
> again, it takes less memory than int.
> ------------------------------------------------------------------------------
> 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
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to