GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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

void clean_up_and_exit (int exit_status, bool)
 
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_exit_exception (int exit_status, int safe_to_return)
 
void octave_throw_interrupt_exception (void)
 

Variables

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

Function Documentation

◆ clean_up_and_exit()

void clean_up_and_exit ( int  exit_status,
bool   
)

Definition at line 52 of file quit.cc.

◆ octave_handle_signal()

void octave_handle_signal ( void  )

◆ octave_rethrow_exception()

◆ octave_throw_bad_alloc()

void octave_throw_bad_alloc ( void  )

Definition at line 77 of file quit.cc.

References octave_alloc_exception, octave_bad_alloc_hook, and octave_exception_state.

Referenced by octave_rethrow_exception().

◆ octave_throw_execution_exception()

void octave_throw_execution_exception ( void  )

Definition at line 67 of file quit.cc.

References octave_exception_state, and octave_exec_exception.

Referenced by octave_rethrow_exception().

◆ octave_throw_exit_exception()

void octave_throw_exit_exception ( int  exit_status,
int  safe_to_return 
)

Definition at line 88 of file quit.cc.

References octave_exception_state, and octave_quit_exception.

Referenced by octave_rethrow_exception().

◆ octave_throw_interrupt_exception()

void octave_throw_interrupt_exception ( void  )

Definition at line 58 of file quit.cc.

References octave_interrupt_hook.

Referenced by octave_handle_signal(), and octave_rethrow_exception().

Variable Documentation

◆ octave_bad_alloc_hook

void(* octave_bad_alloc_hook) (void) = nullptr

Definition at line 36 of file quit.cc.

Referenced by octave_throw_bad_alloc().

◆ octave_interrupt_hook

void(* octave_interrupt_hook) (void) = nullptr

Definition at line 35 of file quit.cc.

Referenced by octave_throw_interrupt_exception().

◆ octave_signal_hook

void(* octave_signal_hook) (void) = nullptr

Definition at line 34 of file quit.cc.

Referenced by octave_handle_signal().