Hi Frederik,

On Mon, 2008-05-19 at 01:42 +0200, Frederik wrote:
> is it possible to declare in a vapi binding via attribute that a certain
> exception (error) should be raised (that can be handled via try...catch
> in Vala code) when the return value of the C function is NULL or, more
> generally, meets a certain condition (e.g. negative return value)?

We only support GError-based exceptions currently but it might make
sense to extend this to support other common error reporting schemes for
bindings.

Jürg

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to