diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-11 17:13:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-11 17:44:15 +0300 |
commit | f978c1bed85961e102951340669ca873328bcef3 (patch) | |
tree | e7f67d2806f72cccc028be95f3c3e00679368d20 /src/utils/virtfsrwops.h | |
parent | 083160ca5bdc366e4849c1f73e718531250a9e7c (diff) | |
download | plus-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.h | 4 |
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 |