If you seach recent vala posts by me, you'll see some discusion on this topic.
I hope to be able to start coding something along these lines in a couple of
weeks.
My current plan is that such functions are generated as lamdas, with a set of
wrappers for entry points. There is no need for an
* Christian Hergert wrote, On 17/10/08 08:06:
This isn't totally applicable, but I thought I'd mention it before too
much more async voodo.
I've been working on an asynchronous toolkit library for GObject so
that once we get yield return/yield break support I can implement my
ideas I posted
For tasks, you have two options.
1) Create a GTask with a callback and user_data.
2) Inherit from GTask and implement the execute (and optionally,
cancel) methods.
Keen observers will notice my challenge right away. Yes, I inherit
from GObject for reference counting and general ease of use. It
* Christian Hergert wrote, On 17/10/08 09:24:
For tasks, you have two options.
1) Create a GTask with a callback and user_data.
2) Inherit from GTask and implement the execute (and optionally,
cancel) methods.
Keen observers will notice my challenge right away. Yes, I inherit
from GObject
On Fri, Oct 17, 2008 at 11:25 AM, Sam Liddicott [EMAIL PROTECTED] wrote:
* Christian Hergert wrote, On 17/10/08 09:24:
For tasks, you have two options.
1) Create a GTask with a callback and user_data.
2) Inherit from GTask and implement the execute (and optionally,
cancel) methods.
Totally. Like I said, not really applicable, but figured I'd mention it.
With closures, the framework will stay the same, you just get access
to more locals as your user_data wont get hi-jacked by the instance,
but the closure data.
-- Christian
On Fri, Oct 17, 2008 at 2:25 AM, Sam Liddicott
Hi all,
I just made a still incomplete binding for gcrypt, and added it to the
External Bindings page[1].
Hope to be useful.
Cheers,
[1] http://live.gnome.org/Vala/ExternalBindings
--
Jiqing
___
Vala-list mailing list
Vala-list@gnome.org
Hi,
Gdk.Event e = Gdk.Event(Gdk.EventType.MOTION_NOTIFY);
=== creates:
GdkEvent*;
GdkEvent _tmp4 = {0};
e = (gdk_event_new (_tmp4, GDK_MOTION_NOTIFY), _tmp4);
=== which results in:
error: incompatible type for argument 1 of `gdk_event_new'
error: too many arguments to function `gdk_event_new'
On Fri, 2008-10-17 at 04:53 -0700, [EMAIL PROTECTED] wrote:
Hi all,
I just made a still incomplete binding for gcrypt, and added it to the
External Bindings page[1].
Hope to be useful.
Cheers,
[1] http://live.gnome.org/Vala/ExternalBindings
Very cool, thanks! Small question though,
On Fri, 2008-10-17 at 07:44 +0100, Sam Liddicott wrote:
If you seach recent vala posts by me, you'll see some discusion on this topic.
I really got lost in the sea of emails. What is the title of the
disscussion?
I hope to be able to start coding something along these lines in a couple of
10 matches
Mail list logo