GNU Octave  4.0.0
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
Typedefs | Functions | Variables
lo-error.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* liboctave_error_handler )(const char *,...)
 
typedef void(* liboctave_error_with_id_handler )(const char *, const char *,...)
 
typedef void(* liboctave_warning_handler )(const char *,...)
 
typedef void(* liboctave_warning_with_id_handler )(const char *, const char *,...)
 

Functions

void liboctave_fatal (const char *fmt,...) GCC_ATTR_NORETURN
 
void liboctave_fatal_with_id (const char *id, const char *fmt,...) GCC_ATTR_NORETURN
 
void liboctave_warning (const char *fmt,...)
 
void liboctave_warning_with_id (const char *id, const char *fmt,...)
 
CRUFT_API void set_liboctave_error_handler (liboctave_error_handler f)
 
CRUFT_API void set_liboctave_error_with_id_handler (liboctave_error_with_id_handler f)
 
CRUFT_API void set_liboctave_warning_handler (liboctave_warning_handler f)
 
CRUFT_API void set_liboctave_warning_with_id_handler (liboctave_warning_with_id_handler f)
 

Variables

CRUFT_API liboctave_error_handler current_liboctave_error_handler
 
CRUFT_API
liboctave_error_with_id_handler 
current_liboctave_error_with_id_handler
 
CRUFT_API liboctave_warning_handler current_liboctave_warning_handler
 
CRUFT_API
liboctave_warning_with_id_handler 
current_liboctave_warning_with_id_handler
 

Typedef Documentation

typedef void(* liboctave_error_handler)(const char *,...)

Definition at line 38 of file lo-error.h.

typedef void(* liboctave_error_with_id_handler)(const char *, const char *,...)

Definition at line 40 of file lo-error.h.

typedef void(* liboctave_warning_handler)(const char *,...)

Definition at line 42 of file lo-error.h.

typedef void(* liboctave_warning_with_id_handler)(const char *, const char *,...)

Definition at line 44 of file lo-error.h.

Function Documentation

void liboctave_fatal ( const char fmt,
  ... 
)

Definition at line 100 of file lo-error.c.

References verror().

Referenced by set_liboctave_error_handler().

void liboctave_fatal_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 111 of file lo-error.c.

References verror().

Referenced by set_liboctave_error_with_id_handler().

void liboctave_warning ( const char fmt,
  ... 
)

Definition at line 123 of file lo-error.c.

References verror().

Referenced by set_liboctave_warning_handler().

void liboctave_warning_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 132 of file lo-error.c.

References verror().

Referenced by set_liboctave_warning_with_id_handler().

CRUFT_API void set_liboctave_error_handler ( liboctave_error_handler  f)

Definition at line 64 of file lo-error.c.

References current_liboctave_error_handler, f, and liboctave_fatal().

Referenced by initialize_error_handlers().

CRUFT_API void set_liboctave_error_with_id_handler ( liboctave_error_with_id_handler  f)
CRUFT_API void set_liboctave_warning_handler ( liboctave_warning_handler  f)

Definition at line 82 of file lo-error.c.

References current_liboctave_warning_handler, f, and liboctave_warning().

Referenced by initialize_error_handlers().

CRUFT_API void set_liboctave_warning_with_id_handler ( liboctave_warning_with_id_handler  f)

Variable Documentation

CRUFT_API liboctave_error_handler current_liboctave_error_handler

Definition at line 38 of file lo-error.c.

Referenced by atan2(), base_lu< lu_type >::base_lu(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), Sparse< T >::cat(), chol2inv(), chol2inv_internal(), ComplexMatrix::ComplexMatrix(), ComplexSCHUR::ComplexSCHUR(), Sparse< T >::compute_index(), idx_vector::copy_data(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), Matrix::diag(), FloatMatrix::diag(), ComplexMatrix::diag(), FloatComplexMatrix::diag(), Array< T >::diag(), SparseMatrix::dinverse(), SparseComplexMatrix::dinverse(), do_bessel(), CHOL::downdate(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), ComplexCHOL::downdate(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), command_history::error(), command_editor::error(), F77_FUNC(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatSCHUR::FloatSCHUR(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), gammainc(), octave_rand::get_dist_id(), FloatEIG::hermitian_init(), EIG::hermitian_init(), ind2sub(), EIG::init(), FloatEIG::init(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::insert_sym(), FloatCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), ComplexCHOL::insert_sym(), singleton_cleanup_list::instance_ok(), command_editor::instance_ok(), linspace(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), MatrixType::mark_as_permuted(), MatrixType::mark_as_symmetric(), matrix_norm(), oct_md5_file(), octave_base64_encode(), octave_getcwd(), octave_putenv(), Array< T >::permute(), SCHUR::SCHUR(), CHOL::set(), FloatCHOL::set(), ComplexCHOL::set(), FloatComplexCHOL::set(), LSODE_options::set_integration_method(), set_liboctave_error_handler(), Sparse< T >::Sparse(), oct_data_conv::string_to_data_type(), oct_mach_info::string_to_float_format(), sub2ind(), FloatEIG::symmetric_init(), EIG::symmetric_init(), SparseMatrix::tinverse(), SparseComplexMatrix::tinverse(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), LU::update(), FloatLU::update(), QR::update(), FloatComplexLU::update(), ComplexLU::update(), CHOL::update(), FloatCHOL::update(), FloatComplexCHOL::update(), ComplexCHOL::update(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), and FloatComplexMatrix::utsolve().

CRUFT_API liboctave_error_with_id_handler current_liboctave_error_with_id_handler

Definition at line 42 of file lo-error.c.

Referenced by set_liboctave_error_with_id_handler().

CRUFT_API liboctave_warning_handler current_liboctave_warning_handler

Definition at line 46 of file lo-error.c.

Referenced by set_liboctave_warning_handler().

CRUFT_API liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler

Definition at line 50 of file lo-error.c.

Referenced by set_liboctave_warning_with_id_handler().