summaryrefslogtreecommitdiff
path: root/src/utils/virtfsrwops.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-11 17:13:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-11 17:44:15 +0300
commitf978c1bed85961e102951340669ca873328bcef3 (patch)
treee7f67d2806f72cccc028be95f3c3e00679368d20 /src/utils/virtfsrwops.h
parent083160ca5bdc366e4849c1f73e718531250a9e7c (diff)
downloadplus-f978c1bed85961e102951340669ca873328bcef3.tar.gz
plus-f978c1bed85961e102951340669ca873328bcef3.tar.bz2
plus-f978c1bed85961e102951340669ca873328bcef3.tar.xz
plus-f978c1bed85961e102951340669ca873328bcef3.zip
Add VirtFile struct and replace all Phyfs_file usage to this struct.
Diffstat (limited to 'src/utils/virtfsrwops.h')
-rw-r--r--src/utils/virtfsrwops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/virtfsrwops.h b/src/utils/virtfsrwops.h
index c937fe543..5a8871377 100644
--- a/src/utils/virtfsrwops.h
+++ b/src/utils/virtfsrwops.h
@@ -49,7 +49,7 @@
#include <SDL_rwops.h>
-#include "utils/virtfs.h"
+struct VirtFile;
namespace VirtFs
{
@@ -64,7 +64,7 @@ namespace VirtFs
SDL_RWops *RWopsOpenWrite(const char *const fname) A_WARN_UNUSED;
SDL_RWops *RWopsOpenAppend(const char *const fname) A_WARN_UNUSED;
- SDL_RWops *MakeRWops(PHYSFS_file *const handle) A_WARN_UNUSED;
+ SDL_RWops *MakeRWops(VirtFile *const handle) A_WARN_UNUSED;
#ifdef DUMP_LEAKED_RESOURCES
void reportRWops();
#endif // DUMP_LEAKED_RESOURCES