From ba29d58fb21f0f376dd4c09df61b4e1d38cb1226 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sat, 30 Nov 2024 15:13:42 +1300 Subject: Error/Warning/Fatal added to FLTK.Errors --- src/c_fl_error.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/c_fl_error.h (limited to 'src/c_fl_error.h') diff --git a/src/c_fl_error.h b/src/c_fl_error.h new file mode 100644 index 0000000..263a42b --- /dev/null +++ b/src/c_fl_error.h @@ -0,0 +1,21 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_ERROR_GUARD +#define FL_ERROR_GUARD + + +extern "C" void fl_error_default_warning(const char * m); +extern "C" void fl_error_default_error(const char * m); +extern "C" void fl_error_default_fatal(const char * m); + + +extern "C" void fl_error_set_hooks(); + + +#endif + + -- cgit