diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-20 00:42:19 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-20 00:42:19 +1300 |
commit | 82eb9509e9e273e8e9e7e584553ccc49f476d4a3 (patch) | |
tree | fcd903955511ba8798e76f76154c4d5b841ad6a5 /src/c_fl_menuitem.h | |
parent | f27eb859eff94ec9c13239daee15f60ffecde089 (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_menuitem.h')
-rw-r--r-- | src/c_fl_menuitem.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |