Re: [Vala] Implicit lamdas/closures
- From: Jürg Billeter <j bitron ch>
- To: Sam Liddicott <sam liddicott com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Implicit lamdas/closures
- Date: Mon, 03 Nov 2008 08:34:07 +0100
On Mon, 2008-11-03 at 07:25 +0000, Sam Liddicott wrote:
-----Original Message-----
From: JürgBilleter <j bitron ch>
Subject: RE: [Vala] Implicit lamdas/closures
The generated C code uses GAsyncReadyCallback
and GAsyncResult from GLib/GIO.
Are you inclined to support use by plain boring delegate style
callbacks where libraries have their own async framwork and just want
a delegate to use as a callback?
The main issue I see is that the delegates probably all look a bit
different, which may make it hard to implement in a generic way. It
should be possible to write a backend plug-in to support a different
async framework in the future.
Do you have a code example, so that we can see whether that allows a
generic implementation or not?
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]