[Vala] Vapi help..

2009-10-23 Thread Shawn Ferris
Hi All -- I've been trying to troubleshoot a problem with the libgda vapi and I just can't figure out where it's coming from.. decided it was time to ask. I'm sure this is something stupid, but I can't find it. The vapi has this: public GLib.Value get_value_at (int col, int row) throws GLib.

[Vala] calling delegate from async

2009-10-23 Thread pHilipp Zabel
Hi, I'd like to call a delegate function from an async function, like this: class AsyncDelegate { delegate void TestFunc (); void test_func () { print ("delegate\n"); } async void test_async (TestFunc f) { print ("async enter\n");