Hi folks,
I noticed that there is support for delegates to throw when wrapping
libraries (the vapi's do it in a few places). However, I'd like to
have a delegate in my vala code that can throw an error. This doesn't
seem to happen even though it compiles.
For example:
public delegate void
Hi,
That looks like a bug. If in doubt, just submit the bug anyway, since
the maintainer will be able to decide whether the behaviour is or is
not a bug much faster and more reliably than the mailing list. :)
(sorry Christian, I missed Reply all again...)
Cheers,
Jared
On Wed, Jun 25, 2008 at
I copied this to vala-list, I hope you don't mind.
* gege2061 wrote, On 25/06/08 16:43:
Good work!
After analyzing the generated code, I have some proposals :
* Use abstract class,
you're probably right. It's just sugar, but sugar is important.
* Create abstrat method for signal,
I fear I don't understand the second suggestion. Please could you provide a
small example.
Thanks
Sam
-Original Message-
From: gege2061 [EMAIL PROTECTED]
Sent: 25 June 2008 18:39
To: Sam Liddicott [EMAIL PROTECTED]
Cc: vala-list@gnome.org
Subject: Re: gtk widget bindings complete
Thanks; silly me, it's obvious now.
It makes perfect sense.
I'm thinking about the prototype problem.
I guess the vapi files know, so it will involve libvala no doubt.
It will either be a vapi-xml convertor or rewrite the xslt to vala or C using
libvala.
Sam
-Original Message-
From: