summaryrefslogtreecommitdiff
path: root/src/c_fl_error.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-11-30 15:13:42 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-11-30 15:13:42 +1300
commitba29d58fb21f0f376dd4c09df61b4e1d38cb1226 (patch)
tree81676cf559a9bb1c9a02ee82e004a23a28c54681 /src/c_fl_error.h
parente3655d5d9f49e325bda4c9cf99d579bc89355a14 (diff)
Error/Warning/Fatal added to FLTK.Errors
Diffstat (limited to 'src/c_fl_error.h')
-rw-r--r--src/c_fl_error.h21
1 files changed, 21 insertions, 0 deletions
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
+
+