23 #if defined (HAVE_CONFIG_H) 56 fprintf (stderr,
"%s: ",
name);
58 vfprintf (stderr, fmt, args);
59 fprintf (stderr,
"\n");
104 va_start (args, fmt);
105 verror (
"fatal", fmt, args);
114 octave_unused_parameter (
id);
117 va_start (args, fmt);
118 verror (
"fatal", fmt, args);
128 va_start (args, fmt);
129 verror (
"warning", fmt, args);
136 octave_unused_parameter (
id);
139 va_start (args, fmt);
140 verror (
"warning", fmt, args);
void liboctave_warning_with_id(const char *id, const char *fmt,...)
void liboctave_warning(const char *fmt,...)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
OCTAVE_NORETURN liboctave_error_handler current_liboctave_error_handler
static void verror(const char *name, const char *fmt, va_list args)
void liboctave_fatal_with_id(const char *id, const char *fmt,...)
OCTAVE_NORETURN liboctave_error_with_id_handler current_liboctave_error_with_id_handler
liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler
void set_liboctave_warning_with_id_handler(liboctave_warning_with_id_handler f)
void set_liboctave_error_with_id_handler(OCTAVE_NORETURN liboctave_error_with_id_handler f)
void liboctave_fatal(const char *fmt,...)
nd deftypefn *std::string name
void(* liboctave_warning_with_id_handler)(const char *, const char *,...)
void(* liboctave_warning_handler)(const char *,...)
liboctave_warning_handler current_liboctave_warning_handler
void set_liboctave_warning_handler(liboctave_warning_handler f)
void set_liboctave_error_handler(OCTAVE_NORETURN liboctave_error_handler f)
void(* liboctave_error_handler)(const char *,...)
void(* liboctave_error_with_id_handler)(const char *, const char *,...)