summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/error.h
blob: 6b5d033f540ac7ff0346c915cf934d20720cd62b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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