GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
quit.cc File Reference
#include <cstring>
#include <iostream>
#include <new>
#include "quit.h"
Include dependency graph for quit.cc:

Go to the source code of this file.

Functions

OCTAVE_API void clean_up_and_exit (int exit_status, bool safe_to_return)
 
void octave_handle_signal (void)
 
void octave_rethrow_exception (void)
 
void octave_throw_bad_alloc (void)
 
void octave_throw_execution_exception (void)
 
void octave_throw_interrupt_exception (void)
 

Variables

void(* octave_bad_alloc_hook )(void)=0
 
void(* octave_interrupt_hook )(void)=0
 
void(* octave_signal_hook )(void)=0
 

Function Documentation

OCTAVE_API void clean_up_and_exit ( int  exit_status,
bool  safe_to_return 
)
void octave_handle_signal ( void  )
void octave_rethrow_exception ( void  )
void octave_throw_bad_alloc ( void  )

Definition at line 79 of file quit.cc.

References octave_alloc_exception, octave_bad_alloc_hook, and octave_exception_state.

Referenced by octave_rethrow_exception().

void octave_throw_execution_exception ( void  )
void octave_throw_interrupt_exception ( void  )

Definition at line 60 of file quit.cc.

References octave_interrupt_hook.

Referenced by octave_handle_signal(), and octave_rethrow_exception().

Variable Documentation

void(* octave_bad_alloc_hook)(void)=0

Definition at line 36 of file quit.cc.

Referenced by octave_throw_bad_alloc().

void(* octave_interrupt_hook)(void)=0

Definition at line 35 of file quit.cc.

Referenced by octave_throw_interrupt_exception().

void(* octave_signal_hook)(void)=0

Definition at line 34 of file quit.cc.

Referenced by octave_handle_signal().