mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-01 01:03:11 +00:00
file_list.c/h - move struct to file_list.h
This commit is contained in:
parent
d5d238c076
commit
de565e73e4
10
file_list.c
10
file_list.c
@ -22,16 +22,6 @@
|
||||
#include "msvc/msvc_compat.h"
|
||||
#include "settings_data.h"
|
||||
|
||||
struct item_file
|
||||
{
|
||||
char *path;
|
||||
char *label;
|
||||
char *alt;
|
||||
unsigned type;
|
||||
size_t directory_ptr;
|
||||
struct rarch_setting_t *setting;
|
||||
};
|
||||
|
||||
void file_list_push(file_list_t *list,
|
||||
const char *path, const char *label,
|
||||
unsigned type, size_t directory_ptr)
|
||||
|
12
file_list.h
12
file_list.h
@ -24,7 +24,16 @@ extern "C" {
|
||||
#include "boolean.h"
|
||||
#include "settings_data.h"
|
||||
|
||||
struct item_file;
|
||||
struct item_file
|
||||
{
|
||||
char *path;
|
||||
char *label;
|
||||
char *alt;
|
||||
unsigned type;
|
||||
size_t directory_ptr;
|
||||
struct rarch_setting_t *setting;
|
||||
};
|
||||
|
||||
typedef struct file_list
|
||||
{
|
||||
struct item_file *list;
|
||||
@ -33,6 +42,7 @@ typedef struct file_list
|
||||
size_t size;
|
||||
} file_list_t;
|
||||
|
||||
|
||||
void file_list_free(file_list_t *list);
|
||||
|
||||
void file_list_push(file_list_t *userdata, const char *path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user