On Mon, Sep 13, 2010 at 3:48 PM, Brett Nash <n...@nash.id.au> wrote: > On Mon, 13 Sep 2010 06:44:24 -0700 > "Enlightenment SVN" <no-re...@enlightenment.org> wrote: > >> Log: >> * eio: callback are allowed to modify their own data. >> Don't know how I wrote this non sense. > > That's easy: C is stupid ;-) > > But a small suggestion: > Maybe cast once when you assign to async->ls.common.data. > > That way you only have one cast (although it means you need to make it > clear it's user data in the structure there).
Nah, the idea of this const is to prevent the code in Eio to modify data. I want it in my structure to give a chance to the compiler to spank me before it's too late. -- Cedric BAIL ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel