On Mon, 2007-12-17 at 00:31 +0300, Denis Cheremisov wrote:
> I have asked about them later, but didn't get any reply. I about if the
> function returning delegate uses not its local variables but heap. In
> this case delegates should have an addition first argument, pointing to
> the structure in the heap. For example:

It would be nice to have closures in Vala, however we probably won't be
able to support it for arbitrary delegates as they usually don't have
the necessary support for memory management. We might be able to add
closures to Vala with some limits, I'm not planning on working on it
right now, though.

Jürg

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to