[Vala] Catch divide by zero
- From: Andy Lees <andrewl oz gmail com>
- To: Vala <vala-list gnome org>
- Subject: [Vala] Catch divide by zero
- Date: Sun, 4 Dec 2016 17:22:12 +1100
Is there a simple way to catch and propagate a divide by zero error in
Vala? In C I can use a setjmp to define a catch point, and then do a
suitable jongjmp from a signal handler. However this mechanism doesn't
appear to be available to the Vala programmer, so what can be done?
Regards,
Andrew Lees.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]