23 #if ! defined (octave_interpreter_h)
24 #define octave_interpreter_h 1
26 #include "octave-config.h"
60 #define OCTAVE_IGNORE_EXCEPTION(E) \
63 std::cerr << "error: ignoring " #E " while preparing to exit" << std::endl; \
64 recover_from_exception (); \
67 #define OCTAVE_SAFE_CALL(F, ARGS) \
72 octave::unwind_protect frame; \
74 frame.protect_var (Vdebug_on_error); \
75 frame.protect_var (Vdebug_on_warning); \
77 Vdebug_on_error = false; \
78 Vdebug_on_warning = false; \
82 OCTAVE_IGNORE_EXCEPTION (const octave::interrupt_exception&) \
83 OCTAVE_IGNORE_EXCEPTION (const octave::execution_exception&) \
84 OCTAVE_IGNORE_EXCEPTION (const std::bad_alloc&) \
124 int main_loop (
void);
Octave interface to the compression and uncompression libraries.
void(* octave_exit_func)(int)
OCTINTERP_API bool octave_interpreter_ready
bool interactive(void) const
OCTINTERP_API bool octave_initialized
tree_evaluator * current_evaluator
tree_evaluator * m_evaluator
OCTINTERP_API bool octave_remove_atexit_function(const std::string &fname)
OCTAVE_API void clean_up_and_exit(int exit_status, bool safe_to_return)
OCTINTERP_API octave_exit_func octave_exit
OCTINTERP_API bool quitting_gracefully
OCTINTERP_API bool quit_allowed
bool m_quitting_gracefully
application * m_app_context
OCTINTERP_API void recover_from_exception(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void interactive(bool arg)
OCTINTERP_API void octave_add_atexit_function(const std::string &fname)