summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uimenu.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-03-03 01:51:31 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-03-03 01:51:31 +0000
commite31f9a631301dace92853014f9c8a909f7e02d3e (patch)
tree7a628da91c1e779225f87c96f5b80373e8496f38 /src/emu/uimenu.h
parent05702939cde6179483f2b0f586ec1fb696933e41 (diff)
Normalized function pointer typedefs: they are now all
suffixed with _func. Did this throughout the core and drivers I was familiar with. Fixed gcc compiler error with recent render.c changes. gcc does not like explicit (int) casts on float or double functions. This is fracking annoying and stupid, but there you have it.
Diffstat (limited to 'src/emu/uimenu.h')
-rw-r--r--src/emu/uimenu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/uimenu.h b/src/emu/uimenu.h
index 3bc42964eae..45f41720cdb 100644
--- a/src/emu/uimenu.h
+++ b/src/emu/uimenu.h
@@ -32,7 +32,7 @@
TYPE DEFINITIONS
***************************************************************************/
-typedef UINT32 (*ui_menu_handler)(UINT32 state);
+typedef UINT32 (*ui_menu_handler_func)(UINT32 state);
typedef struct _ui_menu_item ui_menu_item;
struct _ui_menu_item
@@ -73,7 +73,7 @@ int ui_menu_generic_keys(UINT32 *selected, int num_items, int visible_items);
/* menu stack management */
void ui_menu_stack_reset(void);
-UINT32 ui_menu_stack_push(ui_menu_handler new_handler, UINT32 new_state);
+UINT32 ui_menu_stack_push(ui_menu_handler_func new_handler, UINT32 new_state);
UINT32 ui_menu_stack_pop(void);
/* force game select menu */