Navigation

Operators and Keywords

Function List:

C++ API

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 *,...)
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 *,...)

Function Documentation

void liboctave_fatal ( const char *  fmt,
  ... 
)
void liboctave_fatal_with_id ( const char *  id,
const char *  fmt,
  ... 
)
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  ) 

Variable Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines