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_menuitem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/c_fl_menuitem.h') diff --git a/src/c_fl_menuitem.h b/src/c_fl_menuitem.h index eefd645..1e63c60 100644 --- a/src/c_fl_menuitem.h +++ b/src/c_fl_menuitem.h @@ -12,7 +12,7 @@ typedef void* MENUITEM; extern "C" void * null_fl_menu_item(); -extern "C" void * new_fl_menu_item(char * t, void * c, unsigned long s, unsigned long f); +extern "C" void * new_fl_menu_item(char * t, void * c, int s, int f); extern "C" void free_fl_menu_item(MENUITEM mi); @@ -45,8 +45,8 @@ extern "C" void fl_menu_item_set_labeltype(MENUITEM mi, int t); extern "C" int fl_menu_item_get_shortcut(MENUITEM mi); extern "C" void fl_menu_item_set_shortcut(MENUITEM mi, int s); -extern "C" unsigned long fl_menu_item_get_flags(MENUITEM mi); -extern "C" void fl_menu_item_set_flags(MENUITEM mi, unsigned long f); +extern "C" int fl_menu_item_get_flags(MENUITEM mi); +extern "C" void fl_menu_item_set_flags(MENUITEM mi, int f); extern "C" void fl_menu_item_image(MENUITEM mi, void * i); -- cgit