diff src/toplev.h @ 9255:1c2d2c9f4a8d

don't allow quit() in embedded mode by default, make configurable
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 25 May 2009 15:00:10 +0200
parents b2790fd23800
children d57f0c56195f
line wrap: on
line diff
--- a/src/toplev.h
+++ b/src/toplev.h
@@ -46,6 +46,8 @@
 typedef void (*octave_exit_func) (int);
 extern OCTINTERP_API octave_exit_func octave_exit;
 
+extern OCTINTERP_API bool quit_allowed;
+
 // quit is a lot like an interrupt, so we subclass it to simplify possible
 // handling.
 class octave_quit_exception