summaryrefslogtreecommitdiff
path: root/body/c_fl.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-02-06 21:55:19 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-02-06 21:55:19 +1300
commitee967448bae4733aec70ba128062bc3357a2f0df (patch)
treec6f2fb273132be93a1a067bec854fa13923ea792 /body/c_fl.h
parent547e538476a788dfeb5974f9b8ad29441d18980b (diff)
Widget deletion inside callbacks is now safeHEADmaster
Diffstat (limited to 'body/c_fl.h')
-rw-r--r--body/c_fl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/body/c_fl.h b/body/c_fl.h
index 51dbedb..b12f560 100644
--- a/body/c_fl.h
+++ b/body/c_fl.h
@@ -8,6 +8,9 @@
#define FL_GUARD
+#include <cstddef>
+
+
extern "C" const short fl_align_center;
extern "C" const short fl_align_top;
extern "C" const short fl_align_bottom;
@@ -61,10 +64,14 @@ extern "C" void fl_flush();
extern "C" void fl_redraw();
+extern "C" short fl_inside_callback;
+extern "C" void fl_delete_widget(void * w);
+
+
extern "C" int fl_check();
extern "C" int fl_ready();
extern "C" int fl_wait();
-extern "C" int fl_wait2(double s);
+extern "C" double fl_wait2(double s);
extern "C" int fl_run();