GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
quit.h File Reference
#include "octave-config.h"
#include <signal.h>

Go to the source code of this file.

Macros

#define BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE
 
#define END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE
 
#define OCTAVE_QUIT   octave_quit_c ()
 

Enumerations

enum  octave_exception { octave_no_exception = 0 , octave_exec_exception = 1 , octave_alloc_exception = 3 , octave_quit_exception = 4 }
 

Functions

void octave_handle_signal (void)
 
void octave_quit_c (void)
 

Macro Definition Documentation

◆ BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE

#define BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE
Value:
do \
{

Definition at line 261 of file quit.h.

◆ END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE

#define END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE
Value:
} \
while (0)

Definition at line 265 of file quit.h.

◆ OCTAVE_QUIT

#define OCTAVE_QUIT   octave_quit_c ()

Definition at line 250 of file quit.h.

Enumeration Type Documentation

◆ octave_exception

Enumerator
octave_no_exception 
octave_exec_exception 
octave_alloc_exception 
octave_quit_exception 

Definition at line 210 of file quit.h.

Function Documentation

◆ octave_handle_signal()

void octave_handle_signal ( void  )

Definition at line 109 of file quit.cc.

References octave_interrupt_state, and octave_signal_hook.

◆ octave_quit_c()

void octave_quit_c ( void  )

Definition at line 103 of file quit.cc.