26 #if defined (HAVE_CONFIG_H)
59 fprintf (stderr,
"%s: ",
name);
61 vfprintf (stderr, fmt, args);
62 fprintf (stderr,
"\n");
107 va_start (args, fmt);
108 verror (
"fatal", fmt, args);
117 octave_unused_parameter (
id);
120 va_start (args, fmt);
121 verror (
"fatal", fmt, args);
131 va_start (args, fmt);
132 verror (
"warning", fmt, args);
139 octave_unused_parameter (
id);
142 va_start (args, fmt);
143 verror (
"warning", fmt, args);
void set_liboctave_error_handler(OCTAVE_NORETURN liboctave_error_handler f)
OCTAVE_NORETURN liboctave_error_with_id_handler current_liboctave_error_with_id_handler
void liboctave_warning(const char *fmt,...)
void liboctave_fatal(const char *fmt,...)
OCTAVE_NORETURN liboctave_error_handler current_liboctave_error_handler
void set_liboctave_warning_handler(liboctave_warning_handler f)
void set_liboctave_error_with_id_handler(OCTAVE_NORETURN liboctave_error_with_id_handler f)
void set_liboctave_warning_with_id_handler(liboctave_warning_with_id_handler f)
static void verror(const char *name, const char *fmt, va_list args)
void liboctave_fatal_with_id(const char *id, const char *fmt,...)
liboctave_warning_handler current_liboctave_warning_handler
liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler
void liboctave_warning_with_id(const char *id, const char *fmt,...)
void(* liboctave_error_with_id_handler)(const char *, const char *,...)
void(* liboctave_error_handler)(const char *,...)
void(* liboctave_warning_with_id_handler)(const char *, const char *,...)
void(* liboctave_warning_handler)(const char *,...)
F77_RET_T const F77_DBLE const F77_DBLE * f