rwops: Changed filenames that reference "rwops" to "iostream".

This commit is contained in:
Ryan C. Gordon
2024-03-14 23:30:59 -04:00
parent 6776b6108a
commit 5a21d87e69
24 changed files with 55 additions and 53 deletions

View File

@@ -46,11 +46,11 @@ struct SDL_IOStream
#ifdef SDL_PLATFORM_APPLE
#include "cocoa/SDL_rwopsbundlesupport.h"
#include "cocoa/SDL_iostreambundlesupport.h"
#endif /* SDL_PLATFORM_APPLE */
#ifdef SDL_PLATFORM_3DS
#include "n3ds/SDL_rwopsromfs.h"
#include "n3ds/SDL_iostreamromfs.h"
#endif /* SDL_PLATFORM_3DS */
#ifdef SDL_PLATFORM_ANDROID

View File

@@ -23,8 +23,8 @@
#include <stdio.h>
#ifndef SDL_rwopsbundlesupport_h
#define SDL_rwopsbundlesupport_h
#ifndef SDL_iostreambundlesupport_h
#define SDL_iostreambundlesupport_h
FILE *SDL_OpenFPFromBundleOrFallback(const char *file, const char *mode);
#endif
#endif

View File

@@ -23,7 +23,7 @@
#ifdef SDL_PLATFORM_APPLE
#import <Foundation/Foundation.h>
#include "SDL_rwopsbundlesupport.h"
#include "SDL_iostreambundlesupport.h"
/* For proper macOS applications, the resources are contained inside the application bundle.
So the strategy is to first check the application bundle for the file, then fallback to the current working directory.

View File

@@ -19,7 +19,7 @@
3. This notice may not be removed or altered from any source distribution.
*/
#include "SDL_rwopsromfs.h"
#include "SDL_iostreamromfs.h"
/* Checks if the mode is a kind of reading */
static SDL_bool IsReadMode(const char *mode);

View File

@@ -20,9 +20,9 @@
*/
#include "SDL_internal.h"
#ifndef SDL_rwopsromfs_h_
#define SDL_rwopsromfs_h_
#ifndef SDL_iostreamromfs_h_
#define SDL_iostreamromfs_h_
FILE *N3DS_FileOpen(const char *file, const char *mode);
#endif /* SDL_rwopsromfs_h_ */
#endif /* SDL_iostreamromfs_h_ */