mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(RGUI) rgui_list_push - changed first parameter to void*
This commit is contained in:
parent
c638728917
commit
9fb92127aa
@ -36,9 +36,14 @@ struct rgui_list
|
|||||||
size_t size;
|
size_t size;
|
||||||
};
|
};
|
||||||
|
|
||||||
void rgui_list_push(rgui_list_t *list,
|
void rgui_list_push(void *userdata,
|
||||||
const char *path, unsigned type, size_t directory_ptr)
|
const char *path, unsigned type, size_t directory_ptr)
|
||||||
{
|
{
|
||||||
|
rgui_list_t *list = (rgui_list_t*)userdata;
|
||||||
|
|
||||||
|
if (!list)
|
||||||
|
return;
|
||||||
|
|
||||||
if (list->size >= list->capacity)
|
if (list->size >= list->capacity)
|
||||||
{
|
{
|
||||||
list->capacity++;
|
list->capacity++;
|
||||||
|
@ -25,8 +25,8 @@ typedef struct rgui_list rgui_list_t;
|
|||||||
|
|
||||||
void rgui_list_free(rgui_list_t *list);
|
void rgui_list_free(rgui_list_t *list);
|
||||||
|
|
||||||
void rgui_list_push(rgui_list_t *list,
|
void rgui_list_push(void *userdata, const char *path,
|
||||||
const char *path, unsigned type, size_t directory_ptr);
|
unsigned type, size_t directory_ptr);
|
||||||
void rgui_list_pop(rgui_list_t *list);
|
void rgui_list_pop(rgui_list_t *list);
|
||||||
void rgui_list_clear(rgui_list_t *list);
|
void rgui_list_clear(rgui_list_t *list);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user