mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(Menu) Change void * arguments in signatures
This commit is contained in:
parent
71b83aec7c
commit
62899fc046
13
menu/menu.c
13
menu/menu.c
@ -210,14 +210,12 @@ error:
|
||||
|
||||
/**
|
||||
* menu_free_list:
|
||||
* @data : Menu handle.
|
||||
* @menu : Menu handle.
|
||||
*
|
||||
* Frees menu lists.
|
||||
**/
|
||||
void menu_free_list(void *data)
|
||||
void menu_free_list(menu_handle_t *menu)
|
||||
{
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
|
||||
if (!menu)
|
||||
return;
|
||||
|
||||
@ -227,13 +225,12 @@ void menu_free_list(void *data)
|
||||
|
||||
/**
|
||||
* menu_free:
|
||||
* @info : Menu handle.
|
||||
* @menu : Menu handle.
|
||||
*
|
||||
* Frees a menu handle
|
||||
**/
|
||||
void menu_free(void *data)
|
||||
void menu_free(menu_handle_t *menu)
|
||||
{
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
if (!menu)
|
||||
@ -275,8 +272,6 @@ void menu_free(void *data)
|
||||
|
||||
if (global->core_info_current)
|
||||
free(global->core_info_current);
|
||||
|
||||
free(data);
|
||||
}
|
||||
|
||||
void menu_apply_deferred_settings(void)
|
||||
|
@ -156,11 +156,11 @@ void *menu_init(const void *data);
|
||||
|
||||
/**
|
||||
* menu_free_list:
|
||||
* @data : Menu handle.
|
||||
* @menu : Menu handle.
|
||||
*
|
||||
* Frees menu lists.
|
||||
**/
|
||||
void menu_free_list(void *data);
|
||||
void menu_free_list(menu_handle_t *menu);
|
||||
|
||||
/**
|
||||
* menu_iterate:
|
||||
@ -178,11 +178,11 @@ int menu_iterate(retro_input_t input,
|
||||
|
||||
/**
|
||||
* menu_free:
|
||||
* @info : Menu handle.
|
||||
* @menu : Menu handle.
|
||||
*
|
||||
* Frees a menu handle
|
||||
**/
|
||||
void menu_free(void *data);
|
||||
void menu_free(menu_handle_t *menu);
|
||||
|
||||
/**
|
||||
* menu_load_content:
|
||||
|
Loading…
x
Reference in New Issue
Block a user