Re: [Vala] Closures in vala
- From: Jürg Billeter <j bitron ch>
- To: Denis Cheremisov <denis-cheremisov yandex ru>
- Cc: vala <vala-list gnome org>
- Subject: Re: [Vala] Closures in vala
- Date: Wed, 26 Dec 2007 17:03:06 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]