summaryrefslogtreecommitdiff
path: root/src/fltk-event.adb
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/fltk-event.adb
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/fltk-event.adb')
-rw-r--r--src/fltk-event.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fltk-event.adb b/src/fltk-event.adb
index c4933b4..4521fc2 100644
--- a/src/fltk-event.adb
+++ b/src/fltk-event.adb
@@ -120,12 +120,12 @@ package body FLTK.Event is
pragma Inline (fl_event_get);
function fl_event_state
- return Interfaces.C.unsigned_long;
+ return Interfaces.C.int;
pragma Import (C, fl_event_state, "fl_event_state");
pragma Inline (fl_event_state);
function fl_event_check_state
- (S : in Interfaces.C.unsigned_long)
+ (S : in Interfaces.C.int)
return Interfaces.C.int;
pragma Import (C, fl_event_check_state, "fl_event_check_state");
pragma Inline (fl_event_check_state);
@@ -213,23 +213,23 @@ package body FLTK.Event is
function fl_event_key
- return Interfaces.C.unsigned_long;
+ return Interfaces.C.int;
pragma Import (C, fl_event_key, "fl_event_key");
pragma Inline (fl_event_key);
function fl_event_original_key
- return Interfaces.C.unsigned_long;
+ return Interfaces.C.int;
pragma Import (C, fl_event_original_key, "fl_event_original_key");
pragma Inline (fl_event_original_key);
function fl_event_key_during
- (K : in Interfaces.C.unsigned_long)
+ (K : in Interfaces.C.int)
return Interfaces.C.int;
pragma Import (C, fl_event_key_during, "fl_event_key_during");
pragma Inline (fl_event_key_during);
function fl_event_get_key
- (K : in Interfaces.C.unsigned_long)
+ (K : in Interfaces.C.int)
return Interfaces.C.int;
pragma Import (C, fl_event_get_key, "fl_event_get_key");
pragma Inline (fl_event_get_key);