2011/10/16 Tal Hadad <[email protected]> > > I thought on this simple suggestion: > Whenever lambda expression exist, Vala translate it to func: > static (type) __lambda4_ ([args]) { > ... > } > > Lambda expression is used for callback, but Vala always produce > another func which is the real callback, which call lambda func > (maybe for allowing user data). > So why don't generate lambda func as inline? >
Gcc already inlines static functions when possible. -- www.debian.org - The Universal Operating System
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
