summaryrefslogtreecommitdiff
path: root/src/c_fl_event.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
commit82eb9509e9e273e8e9e7e584553ccc49f476d4a3 (patch)
treefcd903955511ba8798e76f76154c4d5b841ad6a5 /src/c_fl_event.h
parentf27eb859eff94ec9c13239daee15f60ffecde089 (diff)
Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++
Diffstat (limited to 'src/c_fl_event.h')
-rw-r--r--src/c_fl_event.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/c_fl_event.h b/src/c_fl_event.h
index 24ef7c9..cc1f930 100644
--- a/src/c_fl_event.h
+++ b/src/c_fl_event.h
@@ -30,8 +30,8 @@ extern "C" int fl_event_length();
extern "C" int fl_event_get();
-extern "C" unsigned long fl_event_state();
-extern "C" int fl_event_check_state(unsigned long s);
+extern "C" int fl_event_state();
+extern "C" int fl_event_check_state(int s);
extern "C" int fl_event_x();
@@ -51,10 +51,10 @@ extern "C" int fl_event_button3();
extern "C" int fl_event_inside(int x, int y, int w, int h);
-extern "C" unsigned long fl_event_key();
-extern "C" unsigned long fl_event_original_key();
-extern "C" int fl_event_key_during(unsigned long k);
-extern "C" int fl_event_get_key(unsigned long k);
+extern "C" int fl_event_key();
+extern "C" int fl_event_original_key();
+extern "C" int fl_event_key_during(int k);
+extern "C" int fl_event_get_key(int k);
extern "C" int fl_event_ctrl();
extern "C" int fl_event_alt();
extern "C" int fl_event_command();