Rename retro_file to file_stream

This commit is contained in:
twinaphex 2016-03-20 16:29:14 +01:00
parent be9bf7dc44
commit 3720cf87e7
34 changed files with 43 additions and 41 deletions

View File

@ -132,7 +132,7 @@ OBJ += frontend/frontend.o \
libretro-common/lists/file_list.o \
libretro-common/lists/dir_list.o \
libretro-common/file/retro_dirent.o \
libretro-common/file/retro_file.o \
libretro-common/streams/file_stream.o \
libretro-common/file/retro_stat.o \
libretro-common/lists/string_list.o \
libretro-common/string/stdstring.o \

View File

@ -31,7 +31,7 @@ PPU_SRCS = frontend/frontend_salamander.c \
libretro-common/hash/rhash.c \
libretro-common/string/stdstring.c \
libretro-common/compat/compat_strl.c \
libretro-common/file/retro_file.c \
libretro-common/streams/file_stream.c \
libretro-common/file/config_file.c \
verbosity.c

View File

@ -42,7 +42,7 @@ OBJS = frontend/frontend_salamander.o \
libretro-common/file/retro_dirent.o \
libretro-common/compat/compat_strl.o \
libretro-common/file/config_file.o \
libretro-common/file/retro_file.o \
libretro-common/streams/file_stream.o \
libretro-common/file/retro_stat.o \
libretro-common/hash/rhash.o \
verbosity.o \

View File

@ -49,7 +49,7 @@ OBJ = frontend/frontend_salamander.o \
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
libretro-common/lists/dir_list.o \
libretro-common/file/retro_file.o \
libretro-common/streams/file_stream.o \
libretro-common/file/retro_dirent.o \
libretro-common/file/retro_stat.o \
libretro-common/compat/compat_strl.o \

View File

@ -17,7 +17,7 @@
#include <ctype.h>
#include <formats/jsonsax.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <rhash.h>
#include <rthreads/async_job.h>

View File

@ -45,7 +45,7 @@
#include <string/stdstring.h>
#include <retro_miscellaneous.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <retro_stat.h>
#include <retro_assert.h>

View File

@ -38,10 +38,10 @@
#include <boolean.h>
#include <retro_dirent.h>
#include <retro_inline.h>
#include <retro_file.h>
#include <compat/strl.h>
#include <rhash.h>
#include <file/file_path.h>
#include <streams/file_stream.h>
#include <string/stdstring.h>
#include "../frontend.h"

View File

@ -21,7 +21,7 @@
#include <gccore.h>
#include <ogcsys.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "../../driver.h"
#include "../../general.h"

View File

@ -33,7 +33,7 @@
#include <gbm.h>
#include <lists/dir_list.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "../../verbosity.h"
#include "../../driver.h"

View File

@ -21,7 +21,7 @@
#include <linux/fb.h>
#include <linux/vt.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "../../driver.h"
#include "../../general.h"

View File

@ -17,7 +17,7 @@
#include <ctype.h>
#include <file/file_path.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "../font_driver.h"
#include "../../general.h"

View File

@ -17,7 +17,7 @@
#include <string>
#include <sstream>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <lists/string_list.h>
#include "glslang_util.hpp"

View File

@ -20,7 +20,7 @@
#include <compat/posix_string.h>
#include <file/file_path.h>
#include <retro_assert.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <string/stdstring.h>
#include "../../general.h"

View File

@ -21,7 +21,7 @@
#include <compat/strl.h>
#include <compat/posix_string.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "video_state_python.h"
#include "../dynamic.h"

View File

@ -29,7 +29,7 @@
#include <formats/rpng.h>
#endif
#include <formats/tga.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "../general.h"

View File

@ -642,7 +642,7 @@ FILE
#include "../libretro-common/lists/string_list.c"
#include "../libretro-common/lists/file_list.c"
#include "../libretro-common/file/retro_dirent.c"
#include "../libretro-common/file/retro_file.c"
#include "../libretro-common/streams/file_stream.c"
#include "../libretro-common/file/retro_stat.c"
#include "../dir_list_special.c"
#include "../string_list_special.c"

View File

@ -41,7 +41,7 @@
#include <compat/strl.h>
#include <file/archive_file.h>
#include <file/file_path.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <retro_stat.h>
#include <retro_miscellaneous.h>
#include <lists/string_list.h>

View File

@ -24,7 +24,7 @@
#include <compat/zlib.h>
#include <file/archive_file.h>
#include <retro_file.h>
#include <streams/file_stream.h>
static void *zlib_stream_new(void)
{

View File

@ -23,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <formats/rbmp.h>
static bool write_header_bmp(RFILE *file, unsigned width, unsigned height, bool is32bpp)

View File

@ -24,7 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include "rpng_internal.h"

View File

@ -29,7 +29,7 @@
#include <ctype.h>
#include <boolean.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <compat/posix_string.h>
#include <formats/rxml.h>

View File

@ -30,7 +30,7 @@
#include <rhash.h>
#include <retro_miscellaneous.h>
#include <retro_endianness.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#define LSL32(x, n) ((uint32_t)(x) << (n))
#define LSR32(x, n) ((uint32_t)(x) >> (n))

View File

@ -1,7 +1,7 @@
/* Copyright (C) 2010-2015 The RetroArch team
/* Copyright (C) 2010-2016 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (retro_file.h).
* The following license statement only applies to this file (file_stream.h).
* ---------------------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge,
@ -20,8 +20,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __RETRO_FILE_H
#define __RETRO_FILE_H
#ifndef __LIBRETRO_SDK_FILE_STREAM_H
#define __LIBRETRO_SDK_FILE_STREAM_H
#include <stdint.h>
#include <stddef.h>

View File

@ -1,7 +1,7 @@
/* Copyright (C) 2010-2015 The RetroArch team
/* Copyright (C) 2010-2016 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (retro_file.c).
* The following license statement only applies to this file (file_stream.c).
* ---------------------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge,
@ -63,7 +63,7 @@
#include <fcntl.h>
#endif
#include <retro_file.h>
#include <streams/file_stream.h>
#include <memmap.h>
#if 1

View File

@ -10,6 +10,9 @@ else
CFLAGS = -g -O2 -Wall -DNDEBUG
endif
LIBRETRO_COMMON_C = \
$(LIBRETRO_COMMON_DIR)/streams/file_stream.c
C_CONVERTER_C = \
rmsgpack.c \
rmsgpack_dom.c \
@ -19,7 +22,7 @@ C_CONVERTER_C = \
c_converter.c \
$(LIBRETRO_COMMON_DIR)/hash/rhash.c \
$(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \
$(LIBRETRO_COMMON_DIR)/file/retro_file.c \
$(LIBRETRO_COMMON_C) \
$(LIBRETRO_COMMON_DIR)/compat/compat_strl.c
C_CONVERTER_OBJS := $(C_CONVERTER_C:.c=.o)
@ -32,7 +35,7 @@ RARCHDB_TOOL_C = \
query.c \
libretrodb.c \
$(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \
$(LIBRETRO_COMMON_DIR)/file/retro_file.c \
$(LIBRETRO_COMMON_C) \
$(LIBRETRO_COMMON_DIR)/compat/compat_strl.c
RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o)
@ -40,7 +43,7 @@ RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o)
RMSGPACK_C = \
rmsgpack.c \
rmsgpack_test.c \
$(LIBRETRO_COMMON_DIR)/file/retro_file.c
$(LIBRETRO_COMMON_C)
RMSGPACK_OBJS := $(RMSGPACK_C:.c=.o)

View File

@ -11,7 +11,7 @@
#include <sys/stat.h>
#include <stdlib.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <retro_endianness.h>
#include <compat/strl.h>

View File

@ -3,7 +3,7 @@
#include <stdint.h>
#include <retro_file.h>
#include <streams/file_stream.h>
struct rmsgpack_read_callbacks
{

View File

@ -3,7 +3,7 @@
#include <stdint.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#ifdef __cplusplus
extern "C" {

View File

@ -16,7 +16,6 @@
#include <file/file_path.h>
#include <retro_assert.h>
#include <retro_stat.h>
#include <retro_file.h>
#include <string/stdstring.h>
#include <lists/string_list.h>

View File

@ -14,7 +14,7 @@
*/
#include <retro_assert.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <file/file_path.h>
#include <string/stdstring.h>

View File

@ -25,7 +25,7 @@
#include <compat/msvc.h>
#include <file/file_path.h>
#include <file/archive_file.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <retro_stat.h>
#include <string/stdstring.h>

View File

@ -25,6 +25,7 @@
#include <boolean.h>
#include <string/stdstring.h>
#include <streams/file_stream.h>
#include <lists/string_list.h>
#ifdef _WIN32
@ -59,7 +60,6 @@
#include "performance.h"
#include "cheats.h"
#include "system.h"
#include "retro_file.h"
#include "git_version.h"

View File

@ -21,7 +21,7 @@
#include <compat/strl.h>
#include <file/file_path.h>
#include <retro_endianness.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <string/stdstring.h>
#include "tasks_internal.h"

View File

@ -22,7 +22,7 @@
#include <file/file_path.h>
#include <file/archive_file.h>
#include <net/net_compat.h>
#include <retro_file.h>
#include <streams/file_stream.h>
#include <retro_stat.h>
#include "../msg_hash.h"