diff options
Diffstat (limited to 'fltk/fltk/error.h')
-rw-r--r-- | fltk/fltk/error.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fltk/fltk/error.h b/fltk/fltk/error.h new file mode 100644 index 0000000..6b5d033 --- /dev/null +++ b/fltk/fltk/error.h @@ -0,0 +1,24 @@ +/*! \file + Functions to report errors and possibly kill the program. + You can change these pointers from their default values so that + fltk calls your code instead. +*/ + +#ifndef fltk_error_h +#define fltk_error_h + +#include "FL_API.h" + +namespace fltk { + +/// \name fltk/error.h +//@{ + +extern FL_API void (*warning)(const char*, ...); +extern FL_API void (*error)(const char*, ...); +extern FL_API void (*fatal)(const char*, ...); + +//@} + +} +#endif |