Re: [Vala] Implicit lamdas/closures



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]