mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Rename file_list_push to file_list_append
This commit is contained in:
parent
d5a0819aba
commit
b80b52b806
@ -61,7 +61,7 @@ void *file_list_get_actiondata_at_offset(const file_list_t *list,
|
|||||||
|
|
||||||
void file_list_free(file_list_t *list);
|
void file_list_free(file_list_t *list);
|
||||||
|
|
||||||
bool file_list_push(file_list_t *userdata, const char *path,
|
bool file_list_append(file_list_t *userdata, const char *path,
|
||||||
const char *label, unsigned type, size_t current_directory_ptr,
|
const char *label, unsigned type, size_t current_directory_ptr,
|
||||||
size_t entry_index);
|
size_t entry_index);
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ static bool file_list_capacity(file_list_t *list, size_t cap)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool file_list_push(file_list_t *list,
|
bool file_list_append(file_list_t *list,
|
||||||
const char *path, const char *label,
|
const char *path, const char *label,
|
||||||
unsigned type, size_t directory_ptr,
|
unsigned type, size_t directory_ptr,
|
||||||
size_t entry_idx)
|
size_t entry_idx)
|
||||||
|
@ -511,7 +511,7 @@ void menu_entries_push(file_list_t *list, const char *path, const char *label,
|
|||||||
if (!list || !label)
|
if (!list || !label)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
file_list_push(list, path, label, type, directory_ptr, entry_idx);
|
file_list_append(list, path, label, type, directory_ptr, entry_idx);
|
||||||
|
|
||||||
idx = list->size - 1;
|
idx = list->size - 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user