[Vala] Comfortable error handling for non-GLib C functions?
- From: Frederik <scumm_fredo gmx net>
- To: vala-list gnome org
- Subject: [Vala] Comfortable error handling for non-GLib C functions?
- Date: Mon, 19 May 2008 01:42:16 +0200
Hi,
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)?
Regards,
Frederik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]