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_input_.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c_fl_input_.cpp') diff --git a/src/c_fl_input_.cpp b/src/c_fl_input_.cpp index 158a18c..7fe0556 100644 --- a/src/c_fl_input_.cpp +++ b/src/c_fl_input_.cpp @@ -118,11 +118,11 @@ void fl_input_set_input_type(INPUT i, int t) { static_cast(i)->input_type(t); } -unsigned long fl_input_get_shortcut(INPUT i) { +int fl_input_get_shortcut(INPUT i) { return static_cast(i)->shortcut(); } -void fl_input_set_shortcut(INPUT i, unsigned long t) { +void fl_input_set_shortcut(INPUT i, int t) { static_cast(i)->shortcut(t); } -- cgit