From 82eb9509e9e273e8e9e7e584553ccc49f476d4a3 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Mon, 20 Jan 2025 00:42:19 +1300 Subject: Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++ --- src/c_fl_event.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/c_fl_event.h') 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(); -- cgit