mirror of
https://github.com/libretro/RetroArch
synced 2025-02-13 12:40:47 +00:00
Move implementation file_archive_file_data to archive_file.c
This commit is contained in:
parent
fb26f3bbb7
commit
871621fdfa
libretro-common
@ -47,6 +47,15 @@
|
||||
#include <lists/string_list.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
struct file_archive_file_data
|
||||
{
|
||||
#ifdef HAVE_MMAP
|
||||
int fd;
|
||||
#endif
|
||||
void *data;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
#ifdef HAVE_MMAP
|
||||
/* Closes, unmaps and frees. */
|
||||
void file_archive_free(file_archive_file_data_t *data)
|
||||
|
@ -46,14 +46,7 @@ typedef struct file_archive_handle
|
||||
const struct file_archive_file_backend *backend;
|
||||
} file_archive_file_handle_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
#ifdef HAVE_MMAP
|
||||
int fd;
|
||||
#endif
|
||||
void *data;
|
||||
size_t size;
|
||||
} file_archive_file_data_t;
|
||||
typedef struct file_archive_file_data file_archive_file_data_t;
|
||||
|
||||
typedef struct file_archive_transfer
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user