complaint with recent versions of gcc
This commit is contained in:
9
LGPL/swi_console/menu.h
Normal file → Executable file
9
LGPL/swi_console/menu.h
Normal file → Executable file
@@ -35,6 +35,15 @@
|
||||
#define IDM_BREAK 14
|
||||
#define IDM_FONT 15
|
||||
|
||||
typedef struct menu_data
|
||||
{ intptr_t magic; /* safety */
|
||||
const TCHAR *menu; /* menu to operate on */
|
||||
const TCHAR *label; /* new label */
|
||||
const TCHAR *before; /* add before this one */
|
||||
int rc; /* result */
|
||||
} menu_data;
|
||||
|
||||
|
||||
const TCHAR *lookupMenuId(UINT id);
|
||||
void rlc_add_menu_bar(HWND win);
|
||||
void rlc_menu_action(rlc_console c, struct menu_data *data);
|
||||
|
Reference in New Issue
Block a user